Skip to content
Sets up vim-lsp for TypeScript development.
Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Move JavaScript support to another repo Jan 11, 2019
plugin Move JavaScript support to another repo Jan 11, 2019
LICENSE Initial Commit May 9, 2018 Remove JavaScript reference in minimal vimrc README Jan 11, 2019
minimal.vimrc Add typescript syntax plugin to minimal vimrc Jan 7, 2019


Sets up vim-lsp for TypeScript.

Note: This plugin no longer sets things up for JavaScript anymore. Please use ryanolsonx/vim-lsp-javascript to set up vim-lsp for JavaScript use.


Install typescript language server using npm:

npm install -g typescript typescript-language-server

Install the vim plugins:

" Dependencies
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/vim-lsp'

Plug 'ryanolsonx/vim-lsp-typescript'


You must have a tsconfig.json at the root of your project and this plugin will be able to pick it up and provide TypeScript support.

Have an Issue?

Try to reproduce with a minimal vimrc configuration. You can use the one included in this project to create a temp vim setup.

curl -o /tmp/minimal.vimrc
vim -u /tmp/minimal.vimrc +PlugInstall +qall
vim -u /tmp/minimal.vimrc ./your_test_file.ts



You can’t perform that action at this time.