Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
553 views

I am trying to disable nvim-treesitter highlight module in LazyVim (nvim). This is my ~/.config/nvim/lua/plugins/treesitter.lua file: -- disable treesitter highlight return { { "nvim-...
Neeraj Jain's user avatar
1 vote
3 answers
271 views

Suppose I have a filename f that may or may not be absolute. And I have a directory d that f is in, that isn't (or at least might not be) the current working directory, or the home directory. What is ...
Thayne's user avatar
  • 7,079
2 votes
1 answer
473 views

I recently switched from ctags to clangd for better lsp support in neovim. Now clangd doesn't recognize my local include directories. I tried the following .clangd files without success (with the ...
MaxBrandtner's user avatar
0 votes
0 answers
15 views

TLDR. How to get vscode group structure information using plugin api or any kind of workaround? I am a neovim user. Due to the rapid development of llm, I tried almost all plug-ins in the neovim ...
HKD CCY's user avatar
0 votes
1 answer
79 views

I have created a minimal Neovim configuration (Test) that only includes the plugin and the lazy.nvim setup. The local neovim plugin Test loads with lazy.nvim using Lazy-load on command: cmd = "...
Mimosinnet's user avatar
-1 votes
1 answer
45 views

For some reason Neovim is adding variable tags to my code. It's not breaking anything and it doesn't change the code at all, but it's annoying and too verbose (added an image link, see the highlighted ...
Moseph's user avatar
  • 13
2 votes
1 answer
366 views

How do I switch stack frames and jump to the corresponding source file in NeoVim's dap provided by LazyVim? I want something like shown in this video around 3:25 but I don't know which key should I ...
Nekomiya Kasane's user avatar
0 votes
1 answer
560 views

I am using Neovim in Windows 11 26100.3476, with msys2 for gcc to run Zsh. I used to use this Zsh command in Neovim: # this is my config in ~/.zshrc function ngr(){ cd /c/SoftWare/Nginx && ./...
LoftyShadow's user avatar
1 vote
1 answer
242 views

I am using nvim and nvim-dap for debugging, in particular with Rust. I would like to make use of rust's pretty printers for lldb while debugging in nvim. Rust provides some pretty printers here: https:...
Tudor's user avatar
  • 157
0 votes
0 answers
30 views

I have a problem with astronvim. I want to disable autofill of forging brackets. This is when you write "(" and the code editor immediately fills it in with ")" I tried through the ...
user avatar
2 votes
0 answers
589 views

The lua-language-server not started while opening a .lua file from startup using nvim a.lua. :LspInfo showing 0 client(s) attached to this buffer. But it works when switching to another .lua file: :e ...
Alfred Zhong's user avatar
1 vote
1 answer
315 views

On Windows, my lsp doesnt work if I dont have visual studio installed. I used to only have a hdd and befor trying nvim I was using Visual Studio (the purple one) for c/c++ programming. The config ...
EnderMega's user avatar
  • 373
0 votes
0 answers
80 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
0 votes
0 answers
94 views

I'm using neovim on my local machine for few years now and my inlay hint are like that : The hint is on the right of the line : y = foo(3) : int Now I installed nvim on a new VM with --as far as I ...
Laurent Claessens's user avatar
2 votes
0 answers
89 views

I am having trouble with trying to figure this out. I recently started using neovim and have come across learning about the LSP features. One thing I didn't like was the virtual text on screen as it ...
Kevin Carranza's user avatar
4 votes
0 answers
205 views

I’m new to Linux and nvim and have heard a lot of great things about the Kickstart.nvim configuration by tj. I’m learning C++ and trying to configure the compiler to use --std=c++20 by default, but I’...
Bogdan Mieldzicz's user avatar
1 vote
1 answer
270 views

Considering the following example of key binding in nvim init file: vim.keymap.set( 'n', '<leader>x', function() print('megatron') end ) Let's assume my leader is space ' '. If I ...
Dario Colombotto's user avatar
3 votes
2 answers
130 views

When I edit files in vim I mostly stay in the normal mode. To type text I go to the insert mode, but eventually I stop typing to "think". Usually, that's the moment when I need to hit <...
Paweł Wójcik's user avatar
2 votes
1 answer
151 views

I'm using Neovim and want to use listchars to replace certain Unicode code points, such as U+3000 (Ideographic Space) with U+2B1C (White Large Square). vim.opt.listchars = { tab = '→ ', -- space = ...
Carson's user avatar
  • 8,880
2 votes
1 answer
91 views

I'm using AstroNvim to edit a .tex file. When I use gw to wrap some text, it introduces an indentation on every line after the first of the paragraph, as shown below: I don't understand why this ...
Tor's user avatar
  • 803
1 vote
0 answers
55 views

I want to assemble a table based on the values of other tables. For this I'm unpacking a two tables into the new table. Here's what I have local function assemble_abspath_candidates() -- Make sure ...
glades's user avatar
  • 5,356
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
3 answers
536 views

Hi I wanted to create a key map of ctrl + {hjkl} to be able to move through the code, with these keys while I'm in insert mode. Here is what i wrote in my keymaps.lua file: local function map(mode, ...
Alireza Bahrami's user avatar
0 votes
1 answer
241 views

I've been trying to install peek.nvim on my Windows laptop, but when I type :PeekOpen and press Enter, nothing happens. this is my peek.lua file return { "toppair/peek.nvim", event = ...
Mạnh Đỗ Duy's user avatar
3 votes
2 answers
2k views

I am having a problem with eslint_d in Neovim, where it only seems to work with json, whenever I open a Javascript or Typescript file, I get an error in the very first line even if the file is empty: ...
Death Scythe's user avatar

1 2
3
4 5
50