diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' " Plug 'kchmck/vim-coffee-script', { 'for': 'coffee' } Plug 'airblade/vim-gitgutter' -" Plug 'maksimr/vim-jsbeautify', { 'for': 'js' } +Plug 'maksimr/vim-jsbeautify', { 'for': ['js', 'json'] } Plug 'ngmy/vim-rubocop', { 'for': 'ruby' } Plug 'elzr/vim-json', { 'for': ['js', 'json'] } Plug 'honza/vim-snippets' @@ -153,7 +153,7 @@ autocmd BufRead,BufNewFile *.md setlocal spell " spell check md files autocmd BufRead,BufNewFile *.markdown setlocal spell " spell check md files autocmd FileType gitcommit setlocal spell " spell check commits autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr> -autocmd FileType json noremap <buffer> <c-f> :call JsBeautify()<cr> +autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr> autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr> autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr> autocmd FileType scss noremap <buffer> <c-f> :call CSSBeautify()<cr> |
