Questions tagged [lazyvim]
Questions about the LazyVim Neovim distribution
33
questions
0
votes
1
answer
11
views
Neovim: require('which-key') in keymaps.lua file gives error
I use Neovim (v0.9.5) and lazy to manage my plugins. My current config structure is as follows:
├── init.lua
├── lazy-lock.json
└── lua
└── enrique
├── core
│ ├── init.lua
...
0
votes
0
answers
13
views
Characters get stuck on screen when using tmux
I use LazyVim on Alacritty on WSL, and when using it in tmux the screen doesn't display properly. Random characters get "stuck" on screen and won't clear until I do something that forces ...
0
votes
1
answer
27
views
mapleader doesn't work AT ALL in lazyvim
Running :echo mapleader shows no message, but that can be because it's empty. But in this case it should default to \. So I try to use the command mapped to it, and it doesn't work.
I try to set vim.g....
0
votes
0
answers
210
views
How do I resolve "no parser for 'vimdoc' language" (or clean my installation)?
I am new to Neovim and decided to install the kickstart.nvim config.
After using it for a while I didn't like it, so I tried to remove it. Something went wrong in this process: after deleting most of ...
1
vote
0
answers
101
views
Angular Language server crashes when working on an `nx` project with `nx serve`
The Angular language server in nvim crashes after each automatic rebuild/reload of nx serve. It crashes with Program does not contain "<PROJECT_PATH>/apps/org/src/app/app.component....
0
votes
2
answers
81
views
How do I remove the delay when using a key remapped to `k`?
I use the Dvorak layout and am trying to start using Neovim. By default, the arrow buttons were scattered all across the keyboard, so I created this script to remap them:
local function noremap(...
0
votes
1
answer
492
views
How do I set up the lazy.nvim plugin installer in LazyVim?
So I'm trying to set up LazyVim, and so far I have almost everything set up regarding the requirements for lazyvim. I still haven't glued LazyVim and Neovim together, but I've been trying to figure ...
2
votes
1
answer
334
views
Neovim and LazyVim: Customising Lualine status line
I am using the LazyVim starter template and I would like the customise the Lualine statusline using the example given here which is:
return {
-- skip other examples
{
"nvim-lualine/...
0
votes
1
answer
46
views
Setting "g:jedi#use_tabs_not_buffers" option in lazy.nvim in lua
I've started recently to use lazy.nvim to load plugins.
I'm also trying to move the configuration from vimscript to lua, as well.
Most changes seem to be straightforward, but there's one that I am not ...
1
vote
0
answers
1k
views
How to solve [lspconfig] Cannot access configuration
I am just starting to learn Neovim so I downloaded LazyVim after watching some youtube videos and I followed those steps but now it is showing this error message after I undid the comment on ...
1
vote
0
answers
109
views
Why won't lazy.nvim update itself?
I'm trying to update to the latest lazy version for quite some time, but lazy refuses to and stays on the same version.
0
votes
0
answers
21
views
How can I flash/copy a file I am working on to a usb drive natively in VIM?
I am using Lazy NeoVim, and I am also in Computer Science competitively. I am looking at Vim to be a fast alternative to others, such as VS code. However, I am still with the issue of having to flash/...
1
vote
1
answer
78
views
How to find out what's happen between switching from insert & to normal mode? [closed]
When I type something on insert mode and press escape to get normal mode, the cursor goes away and the Neovim does something behind the scenes for a couple of seconds. I can stop this behaviour with ...
0
votes
1
answer
52
views
VimTex is nonstop compiling if gnuplottex is used
I am using VimTex to write LaTex. I am trying to use gnuplottex in my documents, but get the problem that VimTex won't stop compiling the tex file. I am guessing that some gnuplot related files are ...
1
vote
1
answer
384
views
I can't get haskell-tools working in LazyVim
I'am trying set up my LazyVim and i would like to have haskell-tools working.
I can't figure out, where start looking for problem, in my ubuntu system i got several version of GHC, HLS installed via ...
1
vote
1
answer
810
views
Lazy.nvim - change plugin install location for Windows 10
Is there a way to change the plugin install location from:
C:\Users\user1\AppData\Local\nvim-data\lazy
to let say:
C:\nvim-data?
After installing LazyVim, cloning into that folder fails so none of the ...
0
votes
0
answers
1k
views
How do I make the bashls language server work with nvim-lspconfig?
bashls is not working. I have multiple working servers with nvim-lspconfig yet I
can't figure out how to make the bashls server work at any capacity.
I've tried this
... other lsps ...
...
0
votes
0
answers
162
views
Remove white spaces added in nvim on save
I am using LazyVim to configure neovim, I have turned off format on save and now when I save white spaces are added at specific places which I don't want. How can I stop this white spaces to be added ...
0
votes
1
answer
1k
views
Autocomplete and suggestions don't work
My autocomplete is not working. First, let me say that I'm a noob using lazyvim but I'm so enthusiastic about it and I'm trying to learn. Trying to code in any language I don't get any language ...
0
votes
1
answer
2k
views
Configuring vimwiki in neovim
I am struggling with the basic configuration for vimwiki in neovim. I cannot get it to use my configuration. For import I am using lazy.nvim. This is the concerning lazy-section:
{"vimwiki/...
0
votes
1
answer
427
views
Deoplete + Vimtex with Lazy.nvim. Deoplete is not triggered
I tried to migrate fomr packer.nvim to lazy.nvim and I encounter problem with deoplete. With packer is triggered on every document and .tex files. With Lazy.nvim is not.
I appreciate any help!
Here is ...
1
vote
1
answer
2k
views
Errors Configuring conform.nvim for Lazy-Vim: Undefined Globals and Types
I am following the Full Spec from the official documentation to configure conform.nvim for Lazy-Vim
However, I'm encountering multiple errors, one of which is that Util is not recognized, even though ...
1
vote
1
answer
2k
views
How to load formatter.nvim with lazy.nvim?
I am trying to load formatter.nvim but I get this error:
Lua Diagnostics undefined field 'setup'
What is the path for the logs?
This is my full configuration:
return {
'mhartington/formatter.nvim'...
2
votes
1
answer
3k
views
How do I add a custom LSP to `nvim-lspconfig`?
I am new to Neovim and wanted some help. I have been looking around but I could not find documentation on how to add an LSP that isn't preconfigured inside nvim-lspconfig.
I have been trying to get ...
2
votes
0
answers
988
views
Extremely slow with C++ LSP and fairly big project
How do i troubleshoot what is causing below problem.
Problem:
neovim unresponsive for several seconds (10-30 seconds) for any keys
Setup:
Neovim 0.9.2 and neovim nightly
workspace with > 900 files
...
7
votes
2
answers
11k
views
How to disable autoformating on save on LazyVim?
On LazyVim when I save a cpp file it is automatically formatted.
It is possible to disable/enable it in the session using Spaceuf
But I would like to disable that autoformatting on save functionality ...
1
vote
1
answer
8k
views
How to configure Neovim clangd to find my files?
I've used LazyVim's mason to install clangd LSP, but it doesn't seem to work properly.
It can't find files in my workspace, so when I try to jump to declaration, it does nothing if the declaration is ...
0
votes
1
answer
780
views
How to replace one char in Neovim?
I used to use s for replacing one char with another. e.g.
source: "bla". command: ss. result: "sla"
source: "bla". command: 3ss. result: "s"
Neovim (using ...
0
votes
1
answer
991
views
CSS Syntax highlighting in NeoVim in a <style> inside an html file?
Just getting started learning Vim/Neovim and am just following along with some tutorials that said to just open up any repo on your system to play around.
I noticed that I don't have syntax ...
1
vote
1
answer
3k
views
Vanilla tree-sitter setup not enables highlighting automatically
I am failing to configure nvim-treesitter to automatically highlight the code upon opening a file.
After configuring nvim-treesitter by following the recommended instruction steps, this is what I get:
...
1
vote
1
answer
189
views
verbose map shows the mapping but not the source file it is defined
I use Neovim 0.8.3 with LazyVim setup.
In my setup, line movement commands such as j and k move cursor from one displayed line to another displayed line. I checked the mapping of these letters with ...
0
votes
1
answer
2k
views
LazyVim: require('which-key') inside custom configuration files gives error
I use Neovim with LazyVim configuration setup.
I want to set the mappings in which-key. So I put the following code inside ~/.config/nvim/lua/config/which-key.lua:
local wk = require("which-key&...
6
votes
2
answers
26k
views
LazyVim removal/uninstall guidance
I installed LazyVim and have a bunch of missing things with it so I want to know how do I remove it and go back to just default Neovim so I can build it back up from scratch.