Neovim-from-scratch
Neovim-from-scratch copied to clipboard
can't get tsserver to attach, only null-ls shows as language server on buffers
EDIT: Changed title after some more debugging.
Does anyone know a way to debug the on_attach function so I can fix this problem?
I wanted to log what is coming as a client and buffnr.
Language client log: /Users/dantxal/.local/state/nvim/lsp.log
Detected filetype: typescript
1 client(s) attached to this buffer:
Client: null-ls (id: 1, pid: 5001, bufnr: [16])
filetypes: javascriptreact, javascript, json, yaml, css, jsonc, scss, handlebars, markdown, graphql, html, vue, less, typescript, typescriptreact, python
autostart: false
root directory: /Users/dantxal/projects/webtrip-wts-wintour-api
cmd: nvim
Configured servers list: jsonls, sumneko_lua
The list of servers that can be used is in lua/user/lsp/configs.lua
variable servers
. You need to update that variables for the new server to be configured and therefore available.
The list of servers that can be used is in
lua/user/lsp/configs.lua
variableservers
. You need to update that variables for the new server to be configured and therefore available.
How can i setup LSP for new languages. When I add javascript, java, ruby, golang etc it didn't work ?