Questions tagged [neovim-plugin]

63 questions
1
vote
0 answers

How to load a plugin automatically, after opening Neovim , from Lazy.nvim plugin manager

WSL-Nvim-Lazy.nvim(plugin) I have read all the documentation from https://github.com/folke/lazy.nvim#-plugin-spec I have even used Chat-gpt and https://nvchad.com/docs/config/plugins#lazy_loading I am still new to all software developing and I need…
1
vote
0 answers

how to solve the table index is nil problem?

`git clone https://github.com/LazyVim/starter ~/.config/nvim Error detected while processing /home/lx/.config/nvim/init.lua: Invalid plugin spec { checker = { enabled = true }, defaults = { lazy = false, version = false }, install = { colorscheme =…
lorcx
  • 11
  • 1
1
vote
2 answers

Nvchad running linters without me installing them

I recently shifted from VScode to neovim, and I used NVChad for the quick setup. I installed all lsps using mason and I didn't install any linters but on using neovim, pylint is already running over my code. Image showing pylint is running Mason…
1
vote
0 answers

Can't go into normal mode in floating terrminal

I am using toggleterm.nvim extension for creating floating terminals. I am also using lazyvim (https://www.lazyvim.org/) to get some default configurations. I can create a new floating terminal using the keys: ft but I can't seem to able to…
monte
  • 1,482
  • 1
  • 10
  • 26
1
vote
1 answer

Is there any way to check which key combinations are not mapped to anything in neovim/vim?

Occasionally, I map a group of related actions (usually related to a plugin) to a group of key combinations. I try to use some mnemonics to ease remembering it. For instance, I added 3 mappings for overseer plugin (qr, qt, qa) for (Run, Toggle and…
Gonzalo Matheu
  • 8,984
  • 5
  • 35
  • 58
1
vote
0 answers

How to debug nvim-lspconfig neovim plugin?

I'm using the neovim plugin nvim-lspconfig setup with clangd server and a generated compile_commands.json file for C++ development. vim.lsp.buf.definition (go to definition) works most of the time, but does not work for some symbols. Any tips on…
1
vote
2 answers

Lua neovim plugin load nvim_buf_clear_namespace when textchange

I started using neovim recently and for a learning Example i tried to create a basic plugin to update packages for node modules inside the package.json The idea is when the text changes or when trying to undo i clear the buffer. Calling this…
Aziz.G
  • 3,599
  • 2
  • 17
  • 35
1
vote
2 answers

How to display git "tag" in lightline?

I work on git tags on a daily basis & switch between 'em. I have my lightline configured where it does display git branch in status bar of lightline. But I am trying to display git tag as well. gitbranch component from lightline does display the…
1
vote
1 answer

NeoVim ugly text next to variable assignment

Using NeoVim, I created a Python file for a new project, and noticed that now when I declare a new variable, and go back to normal mode, a text appears looking like this: a = 1 : Literal[1] b = 'hello' : Literal['hello'] c = ['a', 'random', 'list']…
Droidux
  • 146
  • 2
  • 12
1
vote
0 answers

Check if terminal command is still running in vim/neovim?

I am currently working on a neovim plugin and have a question that relates to job-control/terminal commands api in Vim/Neovim: I have a command that needs to be executed in a terminal buffer that has been pre-created with the command:…
Rohit Kumar J
  • 87
  • 1
  • 8
1
vote
1 answer

How to resolve 'Invalid window id' error when using Telescope plugin in Neovim?

Error executing vim.schedule lua callback: ...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:756: Invalid window id: 1004 stack traceback: [C]: in function 'nvim_win_close' …
Sumer
  • 33
  • 1
  • 5
1
vote
0 answers

Can't run NvChad on my Nvim, E5113, module 'lazy' not found

Can't run NvChad on my Nvim, E5113, module 'lazy' not found Hello, I spent all the afternoon on Nvim. Starting point was my macBook Pro from mid 2010 which was blocked in mac OS 10.12 (Sierra). Impossible to install Nvim on this OS. So i tried to…
mtnguy
  • 21
  • 3
1
vote
1 answer

How can I fix the 'nil value' error with Null-ls and Prettierd when running :lua vim.lsp.buf.formatting() in Neovim?

I am trying to setup prettier in neovim so I can format tsx files. I am using null-ls with prettier. But everytime I run :lua vim.lsp.buf.formatting() command, I am getting this error: E5108: Error executing lua [string ":lua"]:1: attempt to call…
1
vote
0 answers

NeoVim lua Lazy install plugins

I have a problem, I installed the plugin for the color theme without any problems. But when I want to install a plugin for the tree, there are some problems. The documentation says that you need to insert this code into…
bogdaryan
  • 13
  • 4
1
vote
0 answers

Git status icon like (staged, unstaged, renamed, . . . ) does not appear in nvim-tree?

I have nvim-tree/nvim-tree and nvim-tree/nvim-web-devicons plugins installed on my nvim lua based config. Git status icon does not appear. The status icon is usually located at the left handside of the file/folder. Here is the snapshot that can show…
Reynald Lamury
  • 165
  • 1
  • 2
  • 9