From ae790ce4ea2aaf4cfb19ded279ecc974309f6f6d 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