Skip to main content

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.

1 vote
1 answer
39 views

I work primarily in Rust where I don't have type information written in the file (the compiler infers the type information for me). I normally rely on the type inlay hints, and in the JetBrains IDEs ...
zedseven's user avatar
1 vote
1 answer
116 views

After getting the deprecation warning from the neovim/nvim-lspconfig plugin that the require('lspconfig').setup() function was being deprecated in favor of the vim.lsp.config() and vim.lsp.enable() ...
Captain_Obvious's user avatar
0 votes
0 answers
49 views

How to obtain language-independent text objects by LSP (in Vim, not Neovim) for methods, classes, etc?
user22476690's user avatar
0 votes
2 answers
1k views

I use lazy.nvim as manager. Current Working Setup (with deprecation warning) return { "neovim/nvim-lspconfig", dependencies = { "saghen/blink.cmp" }, event = { "...
ghashy's user avatar
  • 1
0 votes
0 answers
23 views

I am using Windows 11 Pro with Neovim v0.11.3, with the distro called Lazyvim. I setup dartls language server using the code vim.lsp.enable("dartls") Which would provide with me the ...
B1LLP4RK's user avatar
  • 105
0 votes
1 answer
59 views

I am using nvim-lspconfig in lazyvim, but I can only see a small amount of information, and I still cannot eliminate Diagnostics after configuring .golangci.json. To reproduct: mv ~/.config/nvim ~/....
Sangria's user avatar
  • 41
0 votes
1 answer
57 views

Why does my pyright lsp not show any info/documentation when i start typing or hover over it with K for example str() but in vscode it does? this is my lsp: https://codefile.io/f/l3RDycUx95
user57837's user avatar
0 votes
1 answer
308 views

What’s the best way to properly set up and learn to use LSP for any language of choice? I’ve been stuck while working with frontend (JS, JSX, TSX). Main things I’m looking to figure out are: Auto ...
async-awaits's user avatar
0 votes
0 answers
33 views

I have my own Neovim configuration written in Lua. I am using nvim-lsp as a source for nvim-cmp to get completion along with the clangd language server for C++. I do not like the formatting that it ...
Benjamin Tennyson's user avatar
0 votes
1 answer
275 views

I have been updating my configuration to use the native LSP setup in Neovim 0.11 but have ran into an issue with the LTeX/LTeX+ language servers, which are used for spellchecking. Both are essentially ...
noahvanhaute's user avatar
0 votes
0 answers
304 views

Here is :LspInfo output: - vtsls (id: 5) - Version: 0.2.9 - Root directory: ~ - Command: { "vtsls", "--stdio" } - Settings: { vtsls = { tsserver = { ...
Cccccccc's user avatar
0 votes
1 answer
480 views

I am trying to debug a problem I have with the lsp configuration of nvim. When I open a file in nvim, the lsp lua_ls loads fine and works correctly. If I open a new file, or move to the next file, ...
Patrick Gardella's user avatar
0 votes
0 answers
95 views

So I have a quite specific problem. I've been able to configure intelephense, to work with Laravel and recognize it's magic methods, classes etc. But when it comes to modular Laravel folder structure, ...
dom's user avatar
  • 1
0 votes
0 answers
115 views

So, I try to transition to neovim (for 0.11) I have added such config (tried to minimize where it's clear how to do) init.lua: require("riad.lazy") vim.api.nvim_create_autocmd("...
RiaD's user avatar
  • 101
0 votes
1 answer
271 views

Expected Behavior (Screenshot from VSCodium as Example): Or Current Behavior (Neovim v0.11+): Configuration I'm using blink.cmp for autocompletion: { "saghen/blink.cmp", dependencies = {...
Glub-tubus Wepple's user avatar

15 30 50 per page
1
2 3 4 5
14