1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-11-09 16:10:00 +00:00

Install typescript highlighting

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-02-26 11:31:51 +01:00
parent f2e47a14b3
commit 6a51a48032
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

7
vimrc
View file

@ -34,6 +34,7 @@ Plug 'cespare/vim-toml'
Plug 'fatih/vim-hclfmt' Plug 'fatih/vim-hclfmt'
Plug 'b4b4r07/vim-hcl' Plug 'b4b4r07/vim-hcl'
Plug 'posva/vim-vue' Plug 'posva/vim-vue'
Plug 'leafgarland/typescript-vim'
call plug#end() call plug#end()
@ -1015,6 +1016,12 @@ let g:formatters_vue = ['eslint_local']
au FileType python,javascript,vue au BufWritePre <buffer> :Autoformat au FileType python,javascript,vue au BufWritePre <buffer> :Autoformat
au FileType sh,zsh au BufWritePre <buffer> :call SHFmt() au FileType sh,zsh au BufWritePre <buffer> :call SHFmt()
"
" typescript-vim configuration
"
let g:typescript_indent_disable = 1
" "
" Custom commands " Custom commands
" "