Add ts support
This commit is contained in:
parent
bcc063da86
commit
e165717ae6
2 changed files with 9 additions and 0 deletions
5
plug.vim
5
plug.vim
|
@ -50,6 +50,11 @@ Plug 'roxma/nvim-completion-manager'
|
|||
" Plug cannot actually install this colorscheme, clone and link autoload and
|
||||
" colors manually
|
||||
"Plug 'fneu/breezy'
|
||||
" run npm i -g typescript tslint so that these plugins have the tools they need
|
||||
" typescript syntax support and other settings
|
||||
Plug 'leafgarland/typescript-vim'
|
||||
" plug into tsserver
|
||||
Plug 'Quramy/tsuquyomi'
|
||||
|
||||
" All of your Plugins must be added before the following line
|
||||
call plug#end() " required
|
||||
|
|
|
@ -11,3 +11,7 @@ let g:syntastic_check_on_open = 1
|
|||
let g:syntastic_check_on_wq = 0
|
||||
" explicitly set the js checker to my preferred one
|
||||
let g:syntastic_javascript_checkers = ['eslint']
|
||||
" configur the ts checkers
|
||||
let g:syntastic_typescript_checkers = ['tsuquyomi', 'tslint']
|
||||
" force tsc to search harder for config
|
||||
let g:syntastic_typescript_tsc_fname = ''
|
||||
|
|
Loading…
Reference in a new issue