New answers tagged

1

As statox pointed out in a comment, there is probably no way around having the dependencies installed somewhere on the machine: Your LSP server needs to have the declarations stored somewhere, if you don't install the dependencies how is LSP supposed to find these declaration? Looking them up online would make the suggestions super slow. So it would need to ...


1

My mistake at line # 148 -- Setup lspconfig. 148 require('lspconfig')[tsserver].setup { 149 capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) 150 } This should be: require('lspconfig')['tsserver'].setup { I didn't know the string tsserver was supposed to be a string litteral.


Top 50 recent answers are included