1
0
Fork 0
mirror of synced 2024-06-28 19:51:08 -04:00

Add the vim-jsbeautify plugin.

This commit is contained in:
jokang 2018-03-13 14:50:51 +08:00
parent 60da83bff3
commit 0d21f639d5

View file

@ -49,6 +49,18 @@ Plugin 'VundleVim/Vundle.vim'
" My Plugins
Plugin 'plasticboy/vim-markdown'
" https://github.com/maksimr/vim-jsbeautify.git
Plugin 'maksimr/vim-jsbeautify'
autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr>
" for json
autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr>
" for jsx
autocmd FileType jsx noremap <buffer> <c-f> :call JsxBeautify()<cr>
" for html
autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr>
" for css or scss
autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr>
" All of your Plugins must bebundleore the following line
call vundle#end() " required
filetype plugin indent on " required