Questions tagged [neovim-plugin]
63 questions
6
votes
6 answers
file init.lua script in neovim not working
so i decided to use neovim instead of vscode, im a beginner to that,
i created the init.lua file on ~/.config/nvim/,
with simple script :
print("hello world")
the script never executed, i also tried this way on this video…

kxown
- 95
- 1
- 6
3
votes
0 answers
NvChad not showing colors correctly (mac os)
I've installed NvChad for NeoVim. Followed all instuctions as stated in docs and as I've seen on some youtube videos, but in my installation the colors look weird. Here is a short video of me trying to choose a theme:
As you can see, I'm not able…

samiralibabic
- 49
- 1
- 4
3
votes
1 answer
Neovim lualine and nvim-tree symbols show as weird squares instead of letters
Edit: I now understand that for some reason my font does not have support for the glyphs in question, still don't know how to solve it.
I am using the "Lazy" package manager to configure neovim on my ubuntu machine, I have lualine and nvim-tree…

Eli Kalter
- 31
- 4
3
votes
2 answers
Why is my neovim plugin not loaded despite lazy telling me it is
I just switched - or tried to - from Vim-Plug to Lazy. I thought this should not be too complicated. It turned out I was completely wrong. I am already trying to figure out for hours why some plugins just don't get loaded.
I don't want to paste the…

David
- 93
- 2
- 7
3
votes
1 answer
Install nvim-tree.lua init.vim or init.lua?
I'm totally new to neovim. I already snap-installed neovim (Ubuntu) and I want now to install nvim-tree.
The documentation confuses me.
Here is my file .config/nvim/init.vim
call plug#begin(has('nvim') ? stdpath('data') . '/plugged' :…

Laurent Claessens
- 547
- 1
- 3
- 18
2
votes
0 answers
neovim + lsp/clangd based autocompletion on Raspberry Pi 4
I am trying to configure a RPi4-based programming environment for embedded systems programming.
I chose neovim as a primary editor due to ability to work with both "desktop" (with monitor and keyboard attached) and headless (remote, with ssh…

Alexandr Savochkin
- 96
- 5
2
votes
1 answer
Delaying Lua function so it runs after Neovim has successfully launched
I am building a Neovim plug-in with Lua that needs to run a command on the user's terminal to obtain system information. However, this function is causing Neovim to lag at startup. How can I schedule my function to run right after Neovim launches?…

kmontocam
- 78
- 6
2
votes
1 answer
fzf.vim - How to create git branch command with git log preview?
I'm trying to create neovim fzf command FzfGBranches to use git branch -a as input, and use git log --oneline as fzf preview:
command! -bang -nargs=0 FzfGBranches
\ call fzf#vim#grep(
\ "git branch -a", 1,
\…

linrongbin
- 2,967
- 6
- 31
- 59
2
votes
0 answers
Suppress C++17 warnings from LSP client in neovim
I installed the LSP client for C++ development using the plugin manager "packer" in neovim. My lua config was almost exclusively copied
from this website:
LSP in Neovim
When working with modern CPP however, I get warning messages. The native LSP…

Eldinur the Kolibri
- 460
- 1
- 13
2
votes
1 answer
Neovim doesn't load packer.nvim
OS: ArchLinux
NeoVim: 8.3 (current 9.0 bugs when cursor reaches parethesis, so I downgraded it)
I tried to download packer.nvim as in this repo.
I just copied the lua/user/plugins.lua to my config and required it from my init.lua. It certainly does…

Andrey Voeyko
- 47
- 6
2
votes
0 answers
Neovim native LSP for TailwindCSS slow to respond
I've been using Neovim with native LSP for TailwindCSS, which is a popular utility-first CSS framework. While the other language servers work fine, I've noticed that the TailwindCSS language server often takes a long time to respond, causing delays…

Sadik Saifi
- 390
- 2
- 9
1
vote
0 answers
vim-plug's "PlugInstall" not an editor command
I tried many solutions suggested by the internet but none worked, propably i´m missing some point.
I have two folder related to neovim in my windows, one in my pc:
C:\Users\Default\AppData\Local\nvim -> this is where i have the init.vim file and the…

matheus035
- 13
- 4
1
vote
1 answer
How to use default keymap for plugin in lazy.nvim?
I've recently been trying to set up Neovim as my full-time IDE. One plugin which would help my development process quite a bit is vim-iced, which I've been able to successfully install in Neovim using the Lazy Package Manager, my only issue is that…

Dylar
- 13
- 2
1
vote
1 answer
Lazyvim: Why do some neovim plugins need requre() and setup() functions to be called and other don't?
I've been trying out LazyVim for the past couple days. I've been trying to wrap my head around how to configure plugins. One thing I'm confused by is that some modules seem to require that I do something like this before they are recognized:
{
…

StevieD
- 6,925
- 2
- 25
- 45
1
vote
0 answers
NVChad : run two instructions one after the other on binding
I am using NVChad and have configured my plugins correctly, everything works as expected.
When I write JS code, I can hit fm to format using my LSP, and I made a custom binding to organize imports on fl :
local M = {}
M.disabled =…

MGX
- 2,534
- 2
- 14