Skip to content

Commit

Permalink
Add config for json syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kn1cht committed Sep 13, 2016
1 parent ec79e28 commit ae790ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae790ce

Please sign in to comment.