Add ts support

This commit is contained in:
Thomas Gideon 2018-12-13 16:22:51 -05:00
parent bcc063da86
commit e165717ae6
2 changed files with 9 additions and 0 deletions

View file

@ -50,6 +50,11 @@ Plug 'roxma/nvim-completion-manager'
" Plug cannot actually install this colorscheme, clone and link autoload and " Plug cannot actually install this colorscheme, clone and link autoload and
" colors manually " colors manually
"Plug 'fneu/breezy' "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 " All of your Plugins must be added before the following line
call plug#end() " required call plug#end() " required

View file

@ -11,3 +11,7 @@ let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0 let g:syntastic_check_on_wq = 0
" explicitly set the js checker to my preferred one " explicitly set the js checker to my preferred one
let g:syntastic_javascript_checkers = ['eslint'] 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 = ''