1
0
mirror of https://github.com/luzifer/vim.git synced 2024-09-18 18:42:55 +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 'b4b4r07/vim-hcl'
Plug 'posva/vim-vue'
Plug 'leafgarland/typescript-vim'
call plug#end()
@ -1015,6 +1016,12 @@ let g:formatters_vue = ['eslint_local']
au FileType python,javascript,vue au BufWritePre <buffer> :Autoformat
au FileType sh,zsh au BufWritePre <buffer> :call SHFmt()
"
" typescript-vim configuration
"
let g:typescript_indent_disable = 1
"
" Custom commands
"