Skip to main content
Filter by
Sorted by
Tagged with
10 votes
2 answers
15k views

Currently a (neo)vim user, I read that VS Code supports neovim backend integration, but after searching I cannot find how to set it up. How to set up neovim integration in VS Code? I use both linux ...
1 vote
0 answers
24 views

I am trying to make a user command and add completion for it vim.api.nvim_create_user_command('Piomon', function(opts) local args = opts.fargs require('platformio.piomon').piomon(args) end, { ...
Advice
0 votes
1 replies
65 views

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
1 answer
68 views

Is there an option I can set in Vim and Neovim to force the gq motion to wrap text strictly at 80 characters, without addings hanging indents after lines that begin with common programming keywords ...
10 votes
6 answers
6k views

I've got some comments in a JSON file that were autogenerated by, and unfortunately it seems like vim can't recognize that they're just comments. They're all red - which one of my plugins is doing ...
2 votes
1 answer
2k views

I am unable to get nvim-dap functional for my neovim setup. It continually exits with code -1 and I'm not able to ever start debugging. I've ran this on multiple already-functional programs with no ...
2 votes
1 answer
46 views

I am using pop-os cosmic with kitty as terminal. I installed lazyvim starter. With blink cmp plugin for completion, I need to wait 1s before I can continue typing on every first char of each word. If ...
4 votes
0 answers
103 views

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

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 ...
6 votes
2 answers
164 views

I am trying to increment the numbers in a column of a file by a constant value using: :s/\d\+/\=submatch(0)+8192 where 8192 is the constant I want to add. My file has the below structure: ATOM 32760 ...
1 vote
0 answers
85 views

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

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-...
1 vote
1 answer
1k views

I got a LSP server and it is a binary. Now I could run that library at a certain PID. How could I connect to that server and do some testing using vim.lsp.buf_request? I do not want to use vim.lsp....
6 votes
3 answers
5k views

After recent update of Rust toolchain version to 1.77.1 (by running rustup update) I've started seeing following error in my editor (Neovim): Here's the error message in more readable format: rust-...
0 votes
1 answer
62 views

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 ...
-3 votes
1 answer
62 views

I have a Dockerfile with a lot of dependencies, it's very hard to see changes to the deps list in git diffs. How can i put every dependency on a new line using preferably substitute :s/? Example: RUN ...
1 vote
1 answer
51 views

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

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 ...
35 votes
4 answers
26k views

I've started using nvim (neovim) recently. It generally works well, but when I run vimdiff, I noticed that I got the startup errors I got when I ran regular vim. I've fixed those so that both vim and ...
0 votes
0 answers
132 views

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

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"...
4 votes
2 answers
3k views

I am trying to run terminal commands from neovim. I launched nvim from git bash. But when I run :!ls I get the error : /usr/bin/bash: /s: No such file or directory shell returned 127 I searched the ...
0 votes
1 answer
75 views

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 ...
8 votes
1 answer
9k views

I setup Neovim LSP using the nvim-lspconfig and the lsp-installer where I also installed the pyright server. Without any further configuration it worked out of the box. However when I have a class in ...
0 votes
1 answer
236 views

Bufferline does not working with catppucin colorscheme but it is working with other colour scheme any solutions for this.

1
2 3 4 5
50