summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-12-30 11:34:40 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-12-30 11:34:40 +0100
commit1541356fe1300a6bf2553ff1d7170036e797e07e (patch)
tree92f7cf0ffd38fe18295eaeb703005f2d4951361a /ftdetect
parentf3556c1eca72d5816bee766fad7de55e012629ab (diff)
downloadvim-polyglot-1541356fe1300a6bf2553ff1d7170036e797e07e.tar.gz
vim-polyglot-1541356fe1300a6bf2553ff1d7170036e797e07e.zip
Add json5 support, closes #256
Diffstat (limited to '')
-rw-r--r--ftdetect/polyglot.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index ed5f39cd..4ae4ec4e 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -448,6 +448,11 @@ 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
au BufNewFile,BufRead *.jst set filetype=jst