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:
parent
f2e47a14b3
commit
6a51a48032
1 changed files with 7 additions and 0 deletions
7
vimrc
7
vimrc
|
@ -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
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue