We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a92f32 commit a1b8698Copy full SHA for a1b8698
ftdetect/json.vim
@@ -2,10 +2,10 @@ autocmd BufNewFile,BufRead *.json set filetype=json
2
3
augroup json_autocmd
4
autocmd!
5
- autocmd FileType json set autoindent
6
- autocmd FileType json set formatoptions=tcq2l
7
- autocmd FileType json set textwidth=78 shiftwidth=2
8
- autocmd FileType json set softtabstop=2 tabstop=8
9
- autocmd FileType json set expandtab
10
- autocmd FileType json set foldmethod=syntax
+ autocmd FileType json setlocal autoindent
+ autocmd FileType json setlocal formatoptions=tcq2l
+ autocmd FileType json setlocal textwidth=78 shiftwidth=2
+ autocmd FileType json setlocal softtabstop=2 tabstop=8
+ autocmd FileType json setlocal expandtab
+ autocmd FileType json setlocal foldmethod=syntax
11
augroup END
0 commit comments