From a3a84f5d0fa53aa313711e2d5b14f72ee32f3d1a Mon Sep 17 00:00:00 2001 From: Meutel Date: Sun, 8 Oct 2017 10:19:19 +0200 Subject: [PATCH] Vim syntax vue.js --- _vimrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 +" }}}