From 8ee36f037d5be4eca99424cf0bc5ec4bd3ad559e Mon Sep 17 00:00:00 2001 From: chemzqm Date: Thu, 25 Apr 2019 22:56:30 +0800 Subject: [PATCH] chore doc --- Readme.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index e0b8863..96a7b4c 100644 --- a/Readme.md +++ b/Readme.md @@ -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. -**Note:** if you're using nvm, you need configure `tsserver.npm` to be in your global -npm executable path. +**Note:** if you're using [nvm](https://github.com/creationix/nvm) or other node +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