Vim typescript

This commit is contained in:
Meutel 2018-03-04 19:19:32 +01:00
parent afc537226d
commit 17a098ec2b

5
_vimrc
View File

@ -11,6 +11,7 @@ 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' Plugin 'posva/vim-vue'
Plugin 'leafgarland/typescript-vim'
Bundle 'chase/vim-ansible-yaml' Bundle 'chase/vim-ansible-yaml'
" }}} " }}}
@ -151,3 +152,7 @@ nnoremap <Leader>i :GoImports<cr>
" {{{ Vue.js components " {{{ Vue.js components
autocmd FileType vue syntax sync fromstart autocmd FileType vue syntax sync fromstart
" }}} " }}}
" {{{ Typescript
autocmd BufNewFile,BufRead *.ts setlocal filetype=typescript
" }}}