Vim syntax vue.js

This commit is contained in:
Meutel 2017-10-08 10:19:19 +02:00
parent dbc09fc8d3
commit a3a84f5d0f

8
_vimrc
View File

@ -10,6 +10,7 @@ Plugin 'scrooloose/nerdtree.git'
Plugin 'bling/vim-airline'
Plugin 'vim-jp/vim-go-extra'
Plugin 'fatih/vim-go'
Plugin 'posva/vim-vue'
Bundle 'chase/vim-ansible-yaml'
" }}}
@ -142,6 +143,11 @@ call vundle#end() " required
filetype plugin indent on " required
" }}}
" Go auto-format
" {{{ Go auto-format
autocmd FileType go autocmd BufWritePre <buffer> Fmt
nnoremap <Leader>i :GoImports<cr>
" }}}
" {{{ Vue.js components
autocmd FileType vue syntax sync fromstart
" }}}