chore doc

This commit is contained in:
chemzqm 2019-04-25 22:56:30 +08:00
parent a81683c7b1
commit 8ee36f037d

View file

@ -4,8 +4,12 @@ Tsserver language server extension for [coc.nvim](https://github.com/neoclide/co
Most of the code is from `typescript-language-features` extension which is bundled with VSCode. Most of the code is from `typescript-language-features` extension which is bundled with VSCode.
**Note:** if you're using nvm, you need configure `tsserver.npm` to be in your global **Note:** if you're using [nvm](https://github.com/creationix/nvm) or other node
npm executable path. version manager, you need configure `tsserver.npm` to your global npm executable
path to avoid fetching types on vim start every time.
**Note:** for react to work as expected, you need have your jsx filetype to be `javascript.jsx`
and your tsx filetype to be `typescript.jsx` or `typescript.tsx`
## Install ## Install