Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
107 views

I'm using nvim-lspconfig and inlay lines are not showing up for any rust file I'm editing. Here's the config located in .config/nvim/lua/plugins/lsp-config.lua { "neovim/nvim-lspconfig", ...
Voltarix's user avatar
0 votes
1 answer
302 views

I am using Lazyvim, a Neovim distro as an editor for my Flutter project in Windows. I installed flutter-tools.nvim and installed dcm using mason. The setup is ok, but I am having trouble with the go ...
B1LLP4RK's user avatar
0 votes
0 answers
90 views

This is my lsp config for nvim, return { "neovim/nvim-lspconfig", event = { "BufReadPost", "BufWritePost", "BufNewFile" }, branch = "master", ...
Revanth Shalon's user avatar
1 vote
0 answers
42 views

I don't know why, but seems that denoLS is removing all blank lines, no matter what, from my Deno scripts, which is making the code very cramped and, is a very annoying behaviour of the formatter. Why?...
Sigma Octantis's user avatar
3 votes
1 answer
4k views

I received a nil value when attempting to override the mason-lspconfig handlers in my configuration using the following code. There was a similar issue and solution raised on GitHub at nvim-luasnip, ...
AMAN KUMAR's user avatar
1 vote
1 answer
100 views

After installing "nvim-autopairs" which generates matching closing tags for functions/css etc, I am getting this error. Now I have Lazy Package Manager installed, which installed nvim-...
Frizzant's user avatar
  • 796
1 vote
1 answer
317 views

I'm using nvim 0.11.1 in a lsp config, and got clangd installed via mason. The project I'm working on uses the picoSDK, and clangd works inside nvim. The problem is, that it can't seem to find the lib ...
Algebruh's user avatar
  • 131
1 vote
1 answer
37 views

Problem: no completions of SCSS variables like $color-red in all files. I tried autocompletes in variables.scss file itsself. In other SCSS files like general.scss which includes the variables.scss ...
Frizzant's user avatar
  • 796
0 votes
0 answers
103 views

I have a React TypeScript project, here is .eslintrc.json: "env": { "browser": true, "es2021": true }, "extends": ["eslint:...
Yan's user avatar
  • 592
1 vote
1 answer
611 views

I am trying to configure Protobuf LSP support with nvim (I am using Lazyvim package manager). I've read here that bufls is deprecated and that we should be using buf_ls. Using this snippet, I've ...
vasigorc's user avatar
  • 1,002
1 vote
0 answers
270 views

I have configured the gopls LSP as shown below in lspconfig.lua: lspconfig.gopls.setup { on_attach = on_attach, on_init = on_init, capabilities = capabilities, cmd = {"gopls"}, ...
munenecarl's user avatar
2 votes
0 answers
66 views

Hi I've been trying to setup my nvim lsp tsserver compilerOptions during initialization of my lsp but failed. Current docs does not specifically have the compilerOptions in their examples. I tried to ...
Adamson Vispo's user avatar
0 votes
0 answers
81 views

So I'm running my angular project in Neovim (started recently) and when I open a project file and run :LspInfo it says root directory: Running in single file mode. But that doesen't help me at all ...
PiyushD's user avatar
  • 61
1 vote
1 answer
1k views

I recently start working on vue3 framework. As a neovim(neovim 10.0) user I wanted to integrate lsp server in my workflow. I finally wrote the the config like this. local lspconfig = require "...
Abel Maireg's user avatar
0 votes
1 answer
568 views

I am trying to set up my go to definition for omnisharp. I read in the docs that I need to get omnisharp extended for the go to definition functionality to work, however I'm still getting this error. ...
Haroon Almadani's user avatar
1 vote
1 answer
1k views

I've been trying to get my autocomplete working. It works when I hit ctr space but everything I get says text. Here is my lsp config: local on_attach = function(_,_) vim.keymap.set('n', 'gd', vim....
Haroon Almadani's user avatar
2 votes
2 answers
2k views

I am fairly new to using neovim and set things up with kickstart.nvim. I tried to setup jdtls to run with mason. It was working fine until today, when it has been quitting immediately upon opening of ...
hhopec's user avatar
  • 21
3 votes
1 answer
788 views

I'm using Neovim's lspconfig plugin to manage LSP servers for my development environment. Whenever I open a TypeScript file, both denols and tsserver attach to the same buffer, causing conflicts. When ...
Muhannad Elbolaky's user avatar
2 votes
2 answers
857 views

I have tried this with a custom configuration and with the default LazyVim distribution. When I trigger vim.lsp.buf.rename(), for example in LazyVim with <leader>cr I get a error message stating ...
NilVS's user avatar
  • 301
1 vote
0 answers
152 views

I'd like to jump to the actual implementation typescript function in neovim instead of the type definition. From what I've read I must execute the "typescript.goToSourceDefinition". I'm ...
cheezsteak's user avatar
  • 2,945
4 votes
1 answer
846 views

I want to set up language server for my JS/TS project with Deno. I am using modular_kickstart which is a fork of kickstart neovim. I have put my config for deno in my lspconfig.nvim plugin file like ...
Mr.Unforgettable's user avatar
1 vote
1 answer
1k views

I'm a beginner nvim user (version v0.11.0-dev). I've got my config forked from kickstart.nvim and it works on my personal machine with EndeavourOS. On my work laptop, I've got Windows with WSL, on ...
Arty Shan's user avatar
3 votes
0 answers
382 views

I'd like to run a ruff supported command on my buffer, to fix all possible auto-fixable issues with some piece of Python code. I followed the setup instructions in nvim-lspconfig (note: I'm also using ...
André Anjos's user avatar
  • 5,469
0 votes
0 answers
1k views

How do I get my lsp config in neovim to format my rust code in the desired style? How do I get it to follow what's prescribed in ~/.config/rustfmt/rustfmt.toml? Is my global rustfmt.toml incorrect or ...
currenthandle's user avatar
0 votes
1 answer
2k views

I am starting to use Neovim and need some basic functions, like autocompletion. I went with vim-plug plugin manager for neovim and found nvim-cmp as autocompletion. My problem is that when I copy the ...
Filip Dvorak's user avatar
2 votes
0 answers
458 views

The header insertion for clangd imports C++ style headers as opposed to C style headers when editing *.c files. For Example: ctime as opposed to time.h Is there any way to disable this? Nvim Lspconfig ...
Fergus Johnson's user avatar
1 vote
2 answers
2k views

My neovim details: NVIM v0.10.1 Build type: Release LuaJIT 2.1.1713484068 OS details (if useful) WSL2 Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: ...
Mopparthy Ravindranath's user avatar
3 votes
1 answer
611 views

I'm trying to configure ESLint for my React (TypeScript) project. This is my initial eslint.config.js file located in the root of the project. // @ts-check import eslint from "@eslint/js" ...
Roman Mahotskyi's user avatar
2 votes
0 answers
252 views

When I opened two split windows for the same buffer and called vim.lsp.buf.definition, if the symbol definition is in the same file, it would always jump to definition in the first window. Is there a ...
ngkaokis's user avatar
1 vote
0 answers
892 views

How do I configure two language servers (pylsp and Jedi-lsp) such that I can use Jedi for "Go to definition" code action and pylsp for everything else (formatting, autocompletion, etc.)? The ...
Свалов Семен's user avatar
1 vote
0 answers
782 views

I am trying to override the default LSP configuration schema for pyright within neovim. I have installed my lsps using Mason and Mason-lspconfig and am using the recommended setup from LSP-zero. The ...
Wills's user avatar
  • 99
1 vote
1 answer
319 views

I have the following in my config vim.diagnostic.config { virtual_text = false, underline = false, update_in_insert = false, float = { focusable = false, style = 'minimal', border =...
wasp256's user avatar
  • 6,352
2 votes
1 answer
637 views

I have source files that contain macros loaded by a proprietary build toolchain. Unfortunately, Neovim doesn't have a plugin for the configuration file (emProject from SEGGER) and doesn't recognize ...
Václav Hrbek's user avatar
1 vote
1 answer
828 views

"nvchad.mappings" -- add yours here local map = vim.keymap.set map("n", ";", ":", { desc = "CMD enter command mode" }) map("i", "jk&...
S-111 0's user avatar
  • 17
0 votes
1 answer
847 views

I'm trying to make the Angular language server work in NvChad, for a NX monorepo, but it doesn't seem to work. This is what I've pieced together from different sources on the internet: -- EXAMPLE ...
iMe's user avatar
  • 413
1 vote
0 answers
886 views

I am using ruff, ruff-lsp, pyright and using the distro Astrovim. Whenever I open a file, I get the following warning, [lspconfig] Cannot access configuration for ruff. Ensure this server is listed in ...
monte's user avatar
  • 1,933
8 votes
1 answer
5k views

I am using nvim with lazy and using mason, mason-lspconfig, nvim-lspconfig as follow return { { "williamboman/mason.nvim", config = function() ...
Nguyễn Nhân's user avatar
0 votes
3 answers
997 views

I recently started using nvim and started playing with some plugins. I found Mason to be extremely useful. However, I find it bit annoying that Mason diagnostics complain about missing header files (...
Chandra's user avatar
2 votes
2 answers
2k views

I am a Python developer and would like to use Neovim as my main code editor. I have managed to configure auto-completion, linting and auto-formatting using lspconfig, mason, null-ls, nvim-cmp and ...
Vitalii Diachkov's user avatar
2 votes
1 answer
2k views

If I want to see or copy whole diagnostics, I have to click it with my mouse. Is there any way to enter hovered diagnostics automatically after hovering diagnostics? enter image description here I ...
Quan Zhou's user avatar
2 votes
0 answers
1k views

"Go to definition" is working fine in normal code base, but it's just not working in tests. Here's the error message: Error when executing textDocument/Definition : no package metadata for ...
HelloThere's user avatar
  • 1,150
1 vote
0 answers
249 views

I want to set up a custom NeoVim configuration, but I have a problem with syntax highlighting. I can't find a way to show lint errors with syntax highlighting on this repository. I would like to ...
Alexandre MARRE's user avatar
1 vote
0 answers
165 views

I have a strange behavior in nvim with lsp virtual_text. When I enter command mode and exit, the symbol for virtual_text changes to the default symbol. So how do I stop this strange behavior? Config ...
Yossef Sabry's user avatar
1 vote
0 answers
956 views

So I have the LSP client and lsp-config setup and running for typescript and golang. The problem is when every I start up nvim a project, it takes about 1~2 minutes before the LSP is ready and I can ...
Powell Lin's user avatar
2 votes
0 answers
1k views

When I am creating a new file in neovim (without closing the neovim instance), I am unable to import the variables from those files (import the new file as a module) in other files of my project ...
Prabhjot Singh Rai's user avatar
6 votes
0 answers
1k views

This isn't a problem but a solution in case anyones meets it as a problem. While setting up biomejs with the lspconfig on neovim, the root directory returns "not found". This will fix that. ...
igmrrf's user avatar
  • 569
1 vote
0 answers
440 views

I'm using the latest LazyVim version. Here LspInfo output: Press q or <Esc> to close this window. Press <Tab> to view server doc. Language client log: /home/jcabre/.local/state/nvim/...
Jordi's user avatar
  • 23.7k
2 votes
1 answer
4k views

I have a Neovim config that i use for C/C++, Python, Assembly, Rust and PHP, and in all of those the LSP's are working - highlights, coloring, autocomplete, all the things - except in Asm and PHP. I ...
n0rmi's user avatar
  • 111
1 vote
2 answers
1k views

machine : arch linux there is an error massage show when i open neovim from ast-grep lsp : the error massage: LSP[ast_grep] Failed to load rules: Cannot read configuration.. No such file or directory (...
Yossef Sabry's user avatar
0 votes
0 answers
1k views

I'm working on a big Java project. The project uses Java 1.8 but I have installed Java 20 for jdtls. The projects uses only an and build and tomcat. I'm currently using eclipse for the project but I ...
Zyenns's user avatar
  • 19