]> git.pld-linux.org Git - packages/vim.git/commitdiff
fix .json file detection
authorElan Ruusamäe <glen@delfi.ee>
Mon, 21 Dec 2015 16:41:03 +0000 (18:41 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 21 Dec 2015 16:41:03 +0000 (18:41 +0200)
https://github.com/vim/vim/issues/512

bug-512.patch [new file with mode: 0644]
vim.spec

diff --git a/bug-512.patch b/bug-512.patch
new file mode 100644 (file)
index 0000000..1f1d736
--- /dev/null
@@ -0,0 +1,11 @@
+--- vim74/runtime/filetype.vim~        2015-12-21 18:34:48.000000000 +0200
++++ vim74/runtime/filetype.vim 2015-12-21 18:36:19.559607432 +0200
+@@ -1023,7 +1023,7 @@
+ au BufNewFile,BufRead *.jov,*.j73,*.jovial    setf jovial
+ " JSON
+-au BufNewFile,BufRead *.json,*.jsonp          setf json
++au BufNewFile,BufRead *.json,*.jsonp          setf javascript
+ " Kixtart
+ au BufNewFile,BufRead *.kix                   setf kix
index 0dda087cc47e00550a07fffc7b4e5f754fe011ae..a3b59fc289ef22dbf15709527d26fde1bdd633f4 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -114,6 +114,7 @@ Patch36:    %{name}-ft-lib-udevrules.patch
 Patch37:       %{name}-ft-mysql.patch
 Patch38:       %{name}-ft-gyp.patch
 Patch39:       %{name}-revert-7.4.165-noundo.patch
+Patch40:       bug-512.patch
 URL:           http://www.vim.org/
 BuildRequires: acl-devel
 BuildRequires: autoconf
@@ -788,6 +789,7 @@ jak również GUI GTK+2.
 %patch37 -p1
 %patch38 -p1
 %patch39 -p1
+%patch40 -p1
 
 cp -p %{SOURCE20} runtime/syntax
 cp -p %{SOURCE22} runtime/syntax
This page took 0.172028 seconds and 4 git commands to generate.