diff options
| author | Ahmed Abdelhalim <[email protected]> | 2017-05-30 17:08:10 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2017-05-30 17:08:10 +0200 |
| commit | ab7b8687981d808fa25fd40c29e1a9eb2be17a4e (patch) | |
| tree | c31921abf101f68a7d57a310fe6ab0c7ef0d0c45 /.vimrc | |
| parent | a0802c62d73bfcb514c2f5686f5d2a12f82a5e38 (diff) | |
FIX: JsBeautify
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> |
