javascript-typescript-langserver
javascript-typescript-langserver copied to clipboard
Not reading configs from `tsconfig.json`
I'm using coc.nvim with javascript-typescript-stdio, but it seems not reading configs from my tsconfig.json
this. would trigger semantic completion correctly, but symbols from libs (or other dirs configured by tsconfig.json) can not be resolved
- my LSP config should be correct, since
this.would trigger semantic completion correctly - my project config should also be correct, since same config works for
coc.nvim+typescript-language-server - tested these combination with similar results:
-
deoplete+vim-lsp -
ncm2+vim-lsp
-
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?