doc
This commit is contained in:
parent
516f2bd75a
commit
2d0b2b1a1b
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ bundled with VSCode.
|
||||||
`javascript.jsx` or `javascriptreact` and your TSX filetype to be
|
`javascript.jsx` or `javascriptreact` and your TSX filetype to be
|
||||||
`typescript.jsx` or `typescript.tsx` or `typescriptreact`. In coc.nvim, these
|
`typescript.jsx` or `typescript.tsx` or `typescriptreact`. In coc.nvim, these
|
||||||
filetypes are mapped to `javascriptreact` and `typescriptreact` because that's
|
filetypes are mapped to `javascriptreact` and `typescriptreact` because that's
|
||||||
what tsserver uses.
|
what tsserver uses. For filetype like `typescript.javascript`, you need
|
||||||
|
configure `g:coc_filetype_map` variable in vimrc.
|
||||||
|
|
||||||
**Note** for javascript project, configure
|
**Note** for javascript project, configure
|
||||||
[jsconfig.json](https://code.visualstudio.com/docs/languages/jsconfig) to make
|
[jsconfig.json](https://code.visualstudio.com/docs/languages/jsconfig) to make
|
||||||
|
|
Loading…
Reference in a new issue