Make json files fold by syntax

master
Jonathan Hodgson 8 years ago
parent 449e3ed76f
commit 9efe5ee13e
  1. 6
      .vimrc

@ -350,6 +350,12 @@ augroup file_vim
autocmd FileType vim setlocal foldmethod=marker foldenable
augroup END
" Make json fold using syntax {{{2
augroup file_json
autocmd!
autocmd FileType json setlocal foldmethod=syntax foldenable
augroup END
""set es6 files to javascript {{{2
augroup detectES6
autocmd!

Loading…
Cancel
Save