mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-16 15:33:49 -05:00
Add json5 support, closes #256
This commit is contained in:
@@ -447,6 +447,11 @@ autocmd BufNewFile,BufRead *.geojson setlocal filetype=json
|
||||
autocmd BufNewFile,BufRead *.template setlocal filetype=json
|
||||
augroup END
|
||||
|
||||
augroup filetypedetect
|
||||
" json5:GutenYe/json5.vim
|
||||
au BufNewFile,BufRead *.json5 setfiletype json5
|
||||
augroup END
|
||||
|
||||
augroup filetypedetect
|
||||
" jst:briancollins/vim-jst
|
||||
au BufNewFile,BufRead *.ejs set filetype=jst
|
||||
|
||||
Reference in New Issue
Block a user