diff --git a/plug.vim b/plug.vim index 930b3d7..3f6acff 100644 --- a/plug.vim +++ b/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 diff --git a/syntastic.vim b/syntastic.vim index 3547123..5324a38 100644 --- a/syntastic.vim +++ b/syntastic.vim @@ -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 = ''