Questions tagged [lsp]

Language Server Protocol is used between an editor or IDE (such as Vim or NeoVim) and a language server (such as clangd or many others) that provides language features like auto complete, go to definition, find all references etc.

Filter by
Sorted by
Tagged with
0
votes
0answers
40 views

Neovim - Point builtin LSP client for ccls to a compile_commands.json file

I'm using neovim's builtin lsp client for ccls. It requires a JSON compilation database for parsing the codebase (or something, I dunno). I used to use Bear for generating the compilation database, ...
1
vote
1answer
126 views

Vim LSP: change keybindings only if there is a LS attached to buffer

I do maintain there mappings in mv $vimrc: augroup LSP | au! autocmd FileType go,json,yaml nnoremap <silent> <buffer> <c-]> <cmd>lua vim.lsp.buf.declaration()<CR> autocmd ...
2
votes
1answer
111 views

View full (non-truncated) diagnostic error

I am using coc.nvim to get "intellisense" on my project. The diagnostic warnings & errors are great. However, sometimes those error messages are quite long, but the coc diagnostics ...
7
votes
0answers
107 views

How does NeoVim's native LSP client compare with plug-ins that implement that protocol?

NeoVim v0.5 will include a native LSP (Language Server Protocol) implementation. See Greg Hurrell (wincent)'s Screencast #87: Neovim's built-in LSP client covering it. How does it compare with ...