diff --git a/_vimrc b/_vimrc index 803c5b9..2579611 100644 --- a/_vimrc +++ b/_vimrc @@ -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 Fmt nnoremap i :GoImports +" }}} + +" {{{ Vue.js components +autocmd FileType vue syntax sync fromstart +" }}}