From f24fecc338b5129a47c343f61daad2c2fe7a4ab0 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 8 Mar 2015 21:50:10 -0700 Subject: Change JSON provider to sheerun/vim-json, closes #51 --- ftdetect/polyglot.vim | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 000b1c9b..cb0d263d 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -76,12 +76,7 @@ fun! s:SelectJavascript() endfun au BufNewFile,BufRead * call s:SelectJavascript() autocmd BufNewFile,BufRead *.json set filetype=json -augroup json_autocmd - autocmd! - autocmd FileType json setlocal autoindent - autocmd FileType json setlocal formatoptions=tcq2l - autocmd FileType json setlocal foldmethod=syntax -augroup END +autocmd BufNewFile,BufRead *.jsonp set filetype=json au BufNewFile,BufRead *.ejs set filetype=jst au BufNewFile,BufRead *.jst set filetype=jst au BufNewFile,BufRead *.hamljs set filetype=jst -- cgit v1.2.3