以下のプラグインをインストールする
https://github.com/leafgarland/typescript-vim
~/.vimrc
" typescript
autocmd BufRead,BufNewFile *.ts set filetype=typescript
" Plug
call plug#begin('~/.vim/plugged')
Plug 'leafgarland/typescript-vim'
call plug#end()
パッケージ管理は vim-plug を使用