424 questions
2 votes
0 answers
119 views
Rust language server not working in neovim [closed]
I just started using neovim. I could get the lua language server to work but not the rust language server (rust-analyzer). When I open a rust file like hello.rs I get the error LSP [rust_analyzer] ...
1 vote
1 answer
80 views
Problem with Roslyn configuration on neovim
I've been trying to setup roslyn.nvim with rzls.nvim on my neovim for a while to work with .NET, C# and Blazor. But I've been facing some frustrating problems, I'm using WSL Ubuntu 24.04, a neovim ...
Advice
0 votes
1 replies
82 views
LSP for gcc C++ on Neovim
I'm trying to get an LSP for my gcc C++ on Neovim. The issue is, I'm quite new to both the concept of an LSP and Neovim's scripting. I'm getting mixed opinions on clangd and ccls, but I don't really ...
5 votes
2 answers
328 views
clangd in CUDA mode treats host-side C++ standard library as unavailable (std::format, chrono, iostream errors)
Problem I'm trying to use clangd for LSP in Neovim with CUDA .cu files, but it fails to recognize standard C++ library features on the host side. Even simple host functions using std::format, std::...
1 vote
0 answers
96 views
How setup Neovim for Haxe programming language (LSP and Treesitter)
Hello people on the internet. I made my own Neovim config https://github.com/Mr-Fox-h/fox-ide and it's a good config, but I want to write codes with Haxe programming language. I installed haxe and ...
0 votes
1 answer
302 views
dartls error as Neovim LSP server for a Flutter project
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 ...
0 votes
1 answer
98 views
Force clangd to treat .h file as C header
Clangd LSP in Neovim keeps giving C++ diagnostics for an .h file. How do I force it to give C header diagnostics?
1 vote
1 answer
70 views
Clangd find definition in external library
I have a setup with a project written in C that is statically linked with a library. The sources of the library are in a different folder somewhere else on the system. I am using emacs and lsp-mode ...
4 votes
1 answer
128 views
How to inject global virtual type definitions in a Server Plugin (typescriptServerPlugins)?
I'm developing a custom typescriptServerPlugin and trying to inject global type definitions (without requiring explicit import) via a virtual .d.ts file. I want TypeScript files in the project to ...
0 votes
0 answers
89 views
Is there another way to call the initialize function from vscode/services of the monaco-vscode-editor-api
I am implementing a web IDE with rust and i started following a tutorial that implements embedding monaco-editor in a web broswer here, the tutorial is not using react but pointed to this example in ...
1 vote
0 answers
587 views
Why might none of my language servers be running when I have a buffer open for their respective languages?
In advance, I apologize if the code looks messy; I tried pasting my code into the "add code here" thing and it kinda only took the first line and ignored formatting on the rest. I use Neovim....
3 votes
1 answer
4k views
Undefined global `vim`
I have searched for a solution but nothing I have found worked. I have lazy.nvim as plugin manager. I installed the following plugins return { "mason-org/mason-lspconfig.nvim", ...
0 votes
0 answers
32 views
How should a language server respect `formatOnSave: false` in VSCode settings when implementing willSaveWaitUntil?
Our textDocument/willSaveWaitUntil response currently formats the document before save. However, some of our users have formatOnSave: false in their VSCode settings. How is the language server ...
0 votes
0 answers
27 views
How to execute LSP CodeAction in local file system in Java
I use lsp4j <dependency> <groupId>org.eclipse.lsp4j</groupId> <artifactId>org.eclipse.lsp4j</artifactId> <version>0.24.0</version> </dependency&...
0 votes
1 answer
82 views
How to make project visible to clangd?
I was trying to use clangd to make a tool for LLM Agent to let LLM search for linux-kernel source code. I am using this github project to help me with this. However, when I use textDocument/definition ...