Add json5 support, closes #256

This commit is contained in:
Adam Stankiewicz
2017-12-30 11:34:40 +01:00
parent f3556c1eca
commit 1541356fe1
4 changed files with 63 additions and 0 deletions

View File

@@ -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