2,458 questions
1
vote
1
answer
542
views
What is MIMode in the debug adapter protocol (DAP)?
I'm trying to set up C++ debugging and for the n'th time stumbled across the MIMode key. So I thought it's about time to get a proper understanding of it. I've read the DAP specs already which was ...
1
vote
1
answer
91
views
Zellij exits fullscreen randomly when coding in neovim
Once in a while (only when I start typing fast), Zellij exits it's fullscreen mode, so I'd see all of the panels. And changes it's order (as if I did the command NextSwapLayout).
Additionally it seem ...
1
vote
0
answers
466
views
How do I configure git-blame.nvim?
I'm using neovim with lazy package manager to configure the git-blame plugin.
This is my config, but it is not formatting the date correctly for me. According to the docs, the %r format is supposed to ...
1
vote
0
answers
179
views
Documentation rendering with nvim-jdtls and treesitter in Neovim
I recently switched from VSCode to neovim and managed to create a nice setup for java editing. However, I an not happy with the way how treesitter renders documentation (see images). Basically, ...
0
votes
1
answer
367
views
Cannot install Markdown-Preview on Neovim on windows
I am new to Neovim and am trying to add the markdown-preview plugin, but it's not loading even though other plugins are working fine
Here is my nvim folder structure.
nvim/
├── init.lua
├── plugins/
│ ...
2
votes
1
answer
264
views
Capture groups not working in substitute?
I want to use regex capture groups with :substitute in Neovim but they don't seem to be working.
For example, I have this text:
- myKey: myValue
I want it to be:
- myKey: something-myValue
I enter ...
0
votes
0
answers
213
views
Nvim suggestions for Astro and Svelte is not working as expected
Since the last lazyvim update about three weeks ago, Autocompletions are not working. Astro and Svelte LSP are installed, so I tried other configurations from github but found no results. Attached my ...
3
votes
1
answer
781
views
Why are both denols and tsserver attaching to the same TypeScript project in Neovim?
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 ...
3
votes
2
answers
2k
views
How to jump into diagnostic buffer in LazyVim/Neovim?
In Neovim with the LazyVim configuration, when I press ] w (next warning) or ] e (next error) there is a box with the diagnostic information. How do I move into it so that I can then yank the ...
4
votes
1
answer
367
views
How to make copilot not leak secret credentials with Neovim plugin?
If you install the copilot neovim plugin following the official instructions, it is always on, also when you type -say- pass edit www.mybank.com/credentials which decrypts your GPG encrypted file and ...
0
votes
1
answer
419
views
Neovim - How to select autocomplete option in :e command without opening it?
Suppose I have a path dir1/myfile.txt and want to use :e command for open myfile.txt.
When I type :e and press tab I have dir1 in autocomplete list and when I hit enter, directory file is opened.
How ...
1
vote
1
answer
374
views
Entered a mode in Neovim (nvim) where every key press is interpreted as a command
I'm new to Mac and nvim, I had to switch for my current role and am using nvim to setup my mac.
I don't know what I did but now every key press is a command and can't type it all. I've tried ...
0
votes
1
answer
255
views
How to Write and Highlight Custom Documentation for Neovim
I am new to Neovim, and I have written some plugins.
I want to learn how to write documentation. As far as I know:
*tag* - Defines a tag
|link| - Links to other help topics. Press `K` (...
0
votes
0
answers
46
views
Perfom a Tmux key combination from Neovim
I'm using a Tmux extension called Floax, and need to activate it from Neovim (only if Neovim is running inside Tmux, otherwise it should perform another action).
So far I manage to create my lua ...
0
votes
1
answer
1k
views
Nvim-cmp is working as I didn't expected on nvim.lazy
I am using nvim.lazy, nvim-cmp and luasnip. I was coding c++ program, and I got the autocompletions, but it is autocompleting only strings that I used before, not the functions of c++.
in example, if ...
1
vote
0
answers
762
views
How to disable Copilot in Neovim
I'm struggeling with a problem concerning my neovim config.
I'm really struggeling and I think I must oversee something because the task can not be more easier.
Right now I'm struggeling to deactivate ...
1
vote
0
answers
148
views
How to execute `typescript.goToSourceDefinition` in neovim with lspconfig
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 ...
1
vote
0
answers
85
views
No autocomplete for iostream and vector header files in nvim (clang LSP)
Basically im on Linux (arch btw) and i want to make a Windows programs
I installed mingw and specified the include paths but I'm getting errors in the LSP with iostream and vector (in this case didn't ...
1
vote
0
answers
45
views
Can I copy the vim api in neovim
I want to make a neovim plugin but my plugin need to be able to copy the whole vim api, do some changes to it and roll back later
backup = vim
-- do some stuff with `vim`
vim = backup
I tried to do ...
4
votes
1
answer
828
views
Setting up denols to work along with tsls in kickstart neovim
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 ...
3
votes
1
answer
459
views
How to customize tmux pane separator
I'm customizing my tmux setup to match Neovim's appearance, specifically the vertical pane separator used in vsplits (|).
In Neovim, I use this configuration for the separator:
vim.opt.fillchars = {
...
2
votes
1
answer
319
views
How to get the TSNode from a TreeSitter query storing captures in metadata in neovim?
I want to get the signature of all the function definitions/declarations in a lua file and put them in a buffer.
Reading through the TreeSitter query syntax and neovim Treesitter help I came up with ...
1
vote
1
answer
1k
views
Avante plugin won't generate Responses
Problem: Avante plugin never responds with a generated response. It just hangs forever.
Suspicion: There is something wrong with the API key or way it is being used.
Question:
How do I properly set ...
2
votes
1
answer
263
views
Why does code completion not work for ".tpp" file extension in Neovim?
I have installed nvim-lspconfig and nvim-cmp plugins for Neovim. A code completion with ccls works pretty well for .cpp and .hpp file extensions. I want to make code completion to also work with .tpp ...
0
votes
0
answers
265
views
Neovim: module 'lazy' still not found
I'm on Ubuntu via WSL. I've 'installed' neovim by copying the AppImage (https://github.com/neovim/neovim/releases/latest/download/nvim.appimage) into ~/.local/bin/, making it executable with chmod, ...