From 15e56eacc771422f69be53ed06cc896b35b95857 Mon Sep 17 00:00:00 2001 From: kn1cht Date: Tue, 13 Sep 2016 11:28:39 +0900 Subject: [PATCH] Add config for json syntax --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index ea994e9..9857cab 100644 --- a/.vimrc +++ b/.vimrc @@ -66,6 +66,8 @@ function! s:C() """""""""""""""""""""""""""""" " md as markdown, instead of modula2 autocmd BufNewFile,BufRead *.{md,mdwn,mkd,mkdn,mark*} set filetype=markdown +" json as javascript +autocmd BufNewFile,BufRead *.{json} set filetype=javascript """""""""""""""""""""""""""""" " http://inari.hatenablog.com/entry/2014/05/05/231307