You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neovim from nixpkgs hangs with 100% CPU usage when editing a cpp header file. Using neovim from homebrew with the same config works fine. The issue is related to treesitter parser (see steps to reproduce below).
Describe the bug
Neovim from nixpkgs hangs with 100% CPU usage when editing a cpp header file. Using neovim from homebrew with the same config works fine. The issue is related to treesitter parser (see steps to reproduce below).
Steps To Reproduce
Steps to reproduce the behavior:
repro.lua
:header.hpp
:nix shell nixpkgs#nvim
nvim -u repro.lua header.hpp
class Foo {
), switch to insert mode and typeutil::
Repeating these steps with neovim from homebrew doesn't cause any issue.
Expected behavior
Neovim works fine.
Screenshots
Additional context
Metadata
"aarch64-darwin"
Darwin 23.6.0, macOS 14.7.2
yes
no
nix-env (Nix) 2.24.11
"nixpkgs"
/nix/var/nix/profiles/per-user/root/channels/nixpkgs
Notify maintainers
@manveru @rvolosatovs
Sorry if I ping wrong people here. It is quite challenging to figure out who from neovim team is maintaining the package.
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: