JSON is a hyper-strict subset of JavaScript-like syntax. It should not be 
treated as JS. Treating it as JS breaks all sorts of other plugins for minimum 
gain, if any.

https://github.com/b4winckler/macvim/pull/39

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 26629bd..0cc6aa8 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -968,7 +968,7 @@ au BufNewFile,BufRead *.java,*.jav          setf java
 au BufNewFile,BufRead *.jj,*.jjt               setf javacc
 
 " JavaScript, ECMAScript
-au BufNewFile,BufRead *.js,*.javascript,*.es,*.jsx,*.json   setf javascript
+au BufNewFile,BufRead *.js,*.javascript,*.es,*.jsx   setf javascript
 
 " Java Server Pages
 au BufNewFile,BufRead *.jsp                    setf jsp

Raspunde prin e-mail lui