Vim syntax vue.js
This commit is contained in:
parent
dbc09fc8d3
commit
a3a84f5d0f
8
_vimrc
8
_vimrc
@ -10,6 +10,7 @@ Plugin 'scrooloose/nerdtree.git'
|
|||||||
Plugin 'bling/vim-airline'
|
Plugin 'bling/vim-airline'
|
||||||
Plugin 'vim-jp/vim-go-extra'
|
Plugin 'vim-jp/vim-go-extra'
|
||||||
Plugin 'fatih/vim-go'
|
Plugin 'fatih/vim-go'
|
||||||
|
Plugin 'posva/vim-vue'
|
||||||
|
|
||||||
Bundle 'chase/vim-ansible-yaml'
|
Bundle 'chase/vim-ansible-yaml'
|
||||||
" }}}
|
" }}}
|
||||||
@ -142,6 +143,11 @@ call vundle#end() " required
|
|||||||
filetype plugin indent on " required
|
filetype plugin indent on " required
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Go auto-format
|
" {{{ Go auto-format
|
||||||
autocmd FileType go autocmd BufWritePre <buffer> Fmt
|
autocmd FileType go autocmd BufWritePre <buffer> Fmt
|
||||||
nnoremap <Leader>i :GoImports<cr>
|
nnoremap <Leader>i :GoImports<cr>
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" {{{ Vue.js components
|
||||||
|
autocmd FileType vue syntax sync fromstart
|
||||||
|
" }}}
|
||||||
|
Loading…
Reference in New Issue
Block a user