Questions tagged [neovim-plugin]
The neovim-plugin tag has no usage guidance.
neovim-plugin
152
questions
1
vote
0
answers
17
views
Neovim BiomeJS not using biome.json formatting
My lsp.lua is as follows:
local util = require("lspconfig.util")
return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
vim.list_extend(opts....
0
votes
0
answers
16
views
VSCode keeping track of line ranges
I'm coming from neovim background and in neovim plugin development there is an API to create markers known as extmarks that automatically tracks text changes on the buffer. Therefore, we can create an ...
0
votes
2
answers
56
views
Gitsigns without lua
I'm new and I've been working with nvim without lua and everything is fine, I want to install the gitsigns plugin but all tutorial seems to use lua, I tried just adding Plug 'lewis6991/gitsigns.nvim' ...
1
vote
0
answers
46
views
0 client attached for js files in nvim, after installing tsserver
I have been trying for days now to make my typescript-language-server work with my neovim, but I couldn't make it happen. I installed the typescript-language-server with npm. Then I set it up in my ...
2
votes
1
answer
37
views
Neovim | gopher.vim | GoAddTag | Struct not found
I have recently migrated from Vim to NeoVim. There were many configuration distros like NVChad, LazyVim, LunarVim etc but the issue was the steep keymap learning curve
So I started building a custom ...
0
votes
0
answers
26
views
extmark was remove when use `nvim_buf_set_lines`
I am writing a indent (chunk) plugin, and encounter a bug, when comment a line which has extmark, the extmark was remove, detail can be seen here https://github.com/shellRaining/hlchunk.nvim/issues/...
-2
votes
1
answer
106
views
Neovim error in the rustaceanvim on loading neovim
This is how I'm loading the rustaceanvim using lazy
{
'mrcjkb/rustaceanvim',
version = '^4', -- Recommended
lazy = false,
ft = { 'rust' },
},
This is the error I get ...
0
votes
0
answers
54
views
Installed Lazy -- which NeoVim plugin is converting $() to backticks? and how to remove it?
I just installed Lazy via the instructions here: https://www.lazyvim.org/installation
That is, I just did this, and then started nvim:
git clone https://github.com/LazyVim/starter ~/.config/nvim
...
1
vote
0
answers
65
views
How to load a lua plugin from vimscript (how to call the setup function)
I want to use a neovim plugin that is written in lua (epwalsh/obsidian.nvim for instance).
But my whole config is written in vimscript, and I use the vim-plug package manager.
The problem is that this ...
1
vote
1
answer
100
views
How to format on save in neovim
This is the autocmd to format on save for python files, but I am not able to get it working for .js, .ts, .jsx, .tsx:
vim.api.nvim_create_autocmd(
"BufWritePost",
{pattern = "*....
3
votes
1
answer
293
views
Error debugging Go code with Neovim and nvim-dap-go on Windows: dlv exited with code 2
I've been encountering issues while trying to debug Go code using Neovim and nvim-dap-go on Windows. I've configured everything according to the documentation, but when I try to start a debug session, ...
1
vote
0
answers
145
views
How do I get LSP-Zero working on NeoVim using lazy.nvim?
I'm switching to NeoVim right now and everything regarding settings has been smooth up until I needed to set up LSP-Zero. Every guide I tried failed, sadly.
I'm using NeoVim v0.9.1
Below is my tree ...
3
votes
2
answers
526
views
Correct setup for debugging NextJs app inside Neovim with dap
I've been trying to set up neovim and dap for Nexjs app for more then 5 month. So I'm here.
This is the .vscode/launch.json in project directory.
"version": "0.2.0",
"...
0
votes
3
answers
154
views
Neovim mason diagnostics not recognizing header files
I recently started using nvim and started playing with some plugins. I found Mason to be extremely useful. However, I find it bit annoying that Mason diagnostics complain about missing header files (...
1
vote
0
answers
58
views
How to set mapping in AstroNvim?
I set following in lua/community.lua:
---@type LazySpec
return {
"AstroNvim/astrocommunity",
{ import = "astrocommunity.pack.lua" },
{ import = "astrocommunity.pack.java&...