Merge pull request #44 from TimJ0212/main

Change LSP example to the not deprecated ts_ls (fixes #43)
This commit is contained in:
Sidhanth Rathod 2024-09-12 10:41:37 +05:30 committed by GitHub
commit 59f23d053a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ for _, lsp in ipairs(servers) do
end end
-- configuring single server, example: typescript -- configuring single server, example: typescript
-- lspconfig.tsserver.setup { -- lspconfig.ts_ls.setup {
-- on_attach = nvlsp.on_attach, -- on_attach = nvlsp.on_attach,
-- on_init = nvlsp.on_init, -- on_init = nvlsp.on_init,
-- capabilities = nvlsp.capabilities, -- capabilities = nvlsp.capabilities,