Quramy / tsuquyomi

A Vim plugin for TypeScript
http://www.vim.org/scripts/script.php?script_id=5151
1.39k stars 72 forks source link

Error in Ubuntu TSServer not found when installed. Node 4.x. Neovim #48

Open jon49 opened 8 years ago

jon49 commented 8 years ago

I'm getting this error on XUbuntu:

[Tsuquyomi] tsserver is not installed. Try "npm -g install typescript".

when I type which tsserver I get:

/home/jon/.node/bin/tsserver

when I run tsserver it seems to work.

I'm using node v4.2.2.

I'm using neovim

NVIM 0.0.0-alpha (compiled Oct 30 2015 08:52:19)

Quramy commented 8 years ago

Write the following to your .vimrc.

let g:tsuquyomi_use_dev_node_module=2
let g:tsuquyomi_tsserver_path='/home/jon/.node/bin/tsserver'