Open ZSaberLv0 opened 5 years ago
I'm using coc.nvim with javascript-typescript-stdio, but it seems not reading configs from my tsconfig.json
coc.nvim
javascript-typescript-stdio
tsconfig.json
this. would trigger semantic completion correctly, but symbols from libs (or other dirs configured by tsconfig.json) can not be resolved
this.
libs
typescript-language-server
deoplete
vim-lsp
ncm2
here is my config for coc.nvim:
call coc#config('languageserver.typescript', { \ 'command': &shell, \ 'args': [&shellcmdflag, 'javascript-typescript-stdio'], \ 'filetypes': ['typescript', 'javascript'], \ })
and for vim-lsp:
call lsp#register_server({ \ 'name' : 'typescript', \ 'cmd' : [&shell, &shellcmdflag, 'javascript-typescript-stdio'], \ 'whitelist' : ['typescript', 'javascript'], \ })
and the tsconfig.json:
{ "compilerOptions": { "target": "es5", "outDir": "bin-debug", "experimentalDecorators": true, "lib": [ "es5", "dom", "es2015.promise" ], "types": [] }, "include": [ "src", "libs" ] }
+1 any news on this?
I'm using
coc.nvim
withjavascript-typescript-stdio
, but it seems not reading configs from mytsconfig.json
this.
would trigger semantic completion correctly, but symbols fromlibs
(or other dirs configured bytsconfig.json
) can not be resolvedthis.
would trigger semantic completion correctlycoc.nvim
+typescript-language-server
deoplete
+vim-lsp
ncm2
+vim-lsp
here is my config for
coc.nvim
:and for
vim-lsp
:and the
tsconfig.json
: