2,458 questions
1
vote
0
answers
22
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
65
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 ...
Advice
1
vote
1
replies
57
views
In vim how can I redo the last command, including those done by key-map
What do I want:
I set "<leader>gd" as the key to "go to definition"
vim.keymap.set("n", "<leader>gd", ":Lspsaga goto_definition<Enter>&...
1
vote
1
answer
46
views
How can I use `chansend()` to update a terminal buffer asynchronously in Neovim?
I have a callback/generator which produces output, possibly after a delay. I'd like to send these outputs to the terminal buffer as they're produced. Here's a mockup:
local term_buf = vim.api....
4
votes
0
answers
103
views
Restore Tutor Marks in LazyVim
I recently installed LazyVim, and I was trying to use the :Tutor command. Everything works well in Tutor, but the check and cross marks. In Tutor, in most lessons, there are some lines that needs to ...
2
votes
0
answers
57
views
Mason.nvim works on Windows but not on my WSL [closed]
I’m running Neovim 0.10.0 with mason.nvim inside WSL (Ubuntu).
I have 2 Neovim configurations: one on Windows (pwsh) and the other on WSL (ubuntu). On Windows, everything works fine — I can install ...
1
vote
0
answers
85
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 ...
1
vote
0
answers
31
views
Auto selection of first entry in auto-suggestion from nvim-cmp
I have this configuration file for nvim-cmp plugin:
return {
'hrsh7th/nvim-cmp',
event = 'InsertEnter',
dependencies = {
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-path',
'hrsh7th/cmp-nvim-...
0
votes
1
answer
62
views
Is there a way to persist options in NVIM? [closed]
Currently I am using a default nvim colorscheme gruvbox https://github.com/morhetz/gruvbox of which there are light and dark modes. In nvim, to set it to light mode you must input the command :set ...
1
vote
1
answer
51
views
Neovim with LaTeX, changed tabstop and shiftwidth leads to error while indenting in .tex files [closed]
I'm very new to neovim and I'm trying to set it up for LaTeX. I've been unable to indent in .tex files after changing tabstop and shiftwidth after using :set to set them both to 4. Specifically, my ...
0
votes
1
answer
281
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
0
answers
132
views
Can't get Avante.nvim to accept suggestions with custom keybindings
I'm trying to configure Avante.nvim to work with GitHub Copilot, but I can't get the suggestion acceptance keybinding to work. The suggestions appear correctly in insert mode (in gray text), but none ...
0
votes
0
answers
40
views
nvim : map multiple-words
I want to define a map for a several-words expression.
In ~/.config/nvim/init.vim :
:map abc a-b-c
works perfectly well.
But I want to do something like
:map a\ b\ c a-b-c
If I type "a b c"...
0
votes
1
answer
75
views
Neovim with tpope/vim-rails
I have Neovim (with NvChad). I seem to have 'tpope/vimrails' installed in my lua/plugins/init.lua file. When I start up :Lazy I can see that the plugin is listed under "not-loaded"
picture
...
1
vote
0
answers
133
views
How to let pylsp find imports in local project?
When starting my editor with pylsp inside a projects folder I can see the LSP root dir is chosen to be the top folder, where .git is. However the python code is located in a subfolder so the ...
2
votes
1
answer
100
views
How to let <C-y> work normally with LazyVim? [closed]
After I installed LazyVim, common Vim <C-y> (copy character from the line above) stopped working. <C-e> still works fine.
I tried to run nvim --clean: there <C-y> works.
I tried lua ...
2
votes
1
answer
112
views
Switch dashboards when choosing an option in Neovim
I'm using neovim along with lazyvim and was trying to create my own menu. So far, I've managed to generate a main menu, but I want to make it so that selecting an option from that main menu switches ...
2
votes
1
answer
101
views
neovim 'vim.opt.list' not taking effect
I am using neovim on Linux.
NVIM v0.11.3
Build type: Release
LuaJIT 2.1.1741730670
In my options.lua I have vim.opt.list = false and vim.opt.listchars = { tab = '»'}
I have a keymap set to toggle ...
4
votes
1
answer
80
views
Why is my XTerm translation table not behaving? [fixed]
[edit: for all ref's to 'vim', read 'neovim' - see comments for clarification]
On a UK keyboard, the shifted characters for the number keys (1...9, and 0) are;-
! " £ $ % ^ & * ( )
When I use ...
-2
votes
2
answers
152
views
How can I debug a terminal program (like vim) with gdb/cgdb?
Background
I am modifying the source code of vim and I need to use a debugger.
Problem
Since vim is a terminal program, it takes over the terminal when it starts. So as soon as I start inside gdb, I'm ...
4
votes
1
answer
369
views
How to get csharp-ls language server in neovim to find the root of my project?
I'm trying to set up the csharp-ls LSP for use in neovim for C# files. My init.lua file looks like this:
vim.lsp.config(
'csharp-ls',
{
cmd = { 'csharp-ls' },
filetypes = { 'cs'...
1
vote
0
answers
46
views
syntax match with priority
I have some XML data
<layer>
<path data="S 35.33333,70.61539 L 34.46154,23.28205/>
<path data="S 30.66667,12.5641 D 33.64103,12.5641 37.58974/>
</layer>
I want ...
2
votes
1
answer
80
views
How to disable fillers in COC
I am using Clangd as LSP server.
"inlayHint.display": false and "clangd.arguments": ["--function-arg-placeholders=0"]" work to disable the placeholders in functions ...
1
vote
0
answers
426
views
Neo-tree/Treesitter Error: "Parser could not be created for language 'lua'" after installing Kickstart.nvim on Windows
I've recently installed kickstart.nvim on my Windows machine (specifically Windows 11, running Neovim v0.9.x or later). After the initial setup and opening any file (e.g., a .lua file), I encounter ...
1
vote
1
answer
365
views
Restore cursor position in Neovim when opening multiple files
I am currently trying to migrate from Vim to Neovim.
With Vim I have cursor position restoration via the following autocmd:
" Return to last edit position when opening files (You want this!)
...