commit 55c10319d4a34aa45d11881f7fba88c96c01d8bc
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Dec 21 18:41:03 2015 +0200

    fix .json file detection
    
    https://github.com/vim/vim/issues/512

 bug-512.patch | 11 +++++++++++
 vim.spec      |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/vim.spec b/vim.spec
index 0dda087..a3b59fc 100644
--- 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
diff --git a/bug-512.patch b/bug-512.patch
new file mode 100644
index 0000000..1f1d736
--- /dev/null
+++ b/bug-512.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim.git/commitdiff/55c10319d4a34aa45d11881f7fba88c96c01d8bc

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to