Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: slow when leaving neovim #18

Closed
3 tasks done
SingularisArt opened this issue Jan 6, 2023 · 4 comments
Closed
3 tasks done

bug: slow when leaving neovim #18

SingularisArt opened this issue Jan 6, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@SingularisArt
Copy link

SingularisArt commented Jan 6, 2023

Did you check docs and existing issues?

  • I have read all the LazyVim docs
  • I have searched the existing issues of LazyVim
  • I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.9.0-dev-5e1687e-dirty

Operating system/version

Arch Linux

Describe the bug

When I leave neovim, it takes so long for neovim to actually stop. Like this:

2023-01-06_09-29-51.mp4

Also, neovim is just generally slow. While I type, it takes a couple of milliseconds to display. Typically, neovim is behind an entire word. Like I finished pressing the keys for the word hello and I'm already typing world and neovim hasn't even displayed the entire word hello.

Steps To Reproduce

  1. git clone --recursive https://github.com/SingularisArt/Singularis ~/Singularis.
  2. mv ~/.config/nvim ~/.config/nvim-back-up
  3. mv ~/Singularis/aspects/nvim/files/.config/nvim ~/.config/nvim
  4. nvim

Expected Behavior

I'm expecting neovim to be very fast, or at least not this slow.

Repro

No response

@SingularisArt SingularisArt added the bug Something isn't working label Jan 6, 2023
@folke
Copy link
Collaborator

folke commented Jan 6, 2023

Sorry, but I'm not going to debug your config, that's on you. LazyVim itself should be really fast and I see you're not using LazyVim itself.

@folke folke closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2023
@SingularisArt
Copy link
Author

I'm using LazyVim. I cloned the repo, renamed a couple of the folders, and put it in my own repo. Here's my directory structure:

.
├── init.lua
├── lazy-lock.json
└── lua
    └── SingularisArt
        ├── config
        │   ├── autocmds.lua
        │   ├── colorscheme.lua
        │   ├── icons.lua
        │   ├── keymaps.lua
        │   ├── lazy.lua
        │   └── options.lua
        └── plugins
            ├── coding.lua
            ├── colorschemes
            │   ├── functions.lua
            │   └── init.lua
            ├── config.lua
            ├── core.lua
            ├── debugging.lua
            ├── editor.lua
            ├── filetypes.lua
            ├── git.lua
            ├── lsp
            │   ├── handlers.lua
            │   ├── init.lua
            │   ├── navigator.lua
            │   └── settings
            │       ├── clangd.lua
            │       └── ...
            ├── treesitter.lua
            ├── ui.lua
            └── util.lua

Do you have any idea on what could be causing this?

@folke
Copy link
Collaborator

folke commented Jan 6, 2023

You added a bunch of other plugins, so those might cause the slow-down.

If you see Neovim hanging at exit, that typically means some plugin is throwing an error during exit.

Try disabling Noice and see if that helps. Especially on nightly, Noice is not really stable due to the big TUI rework.

You could also check :Noice log

@murilorodelli
Copy link

The same thing is happening to me on linux mint. And I didn't changed anything... it's a pure clone of LazyVim repo and I only installed the dependencies for the official plugins, like NodeJS, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants