-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Opening specific files causes freeze #34
Comments
Same issue on Neovim, with the following minimal nix file: {}: let
in {
programs.waybar = {
exec = let
in
pkgs.writeShellScript "todo-waybar" ''
$(${todo} | ${wc} -l)
'';
};
} Seems to be caused by the bash parser, byt the injection at line 7, the |
Hmm. That's no good. Thanks for the report! I'm super swamped at the moment, so if anyone can take a stab at debugging this, it would be greatly appreciated. Otherwise I'll take a look as soon as I have some spare time. |
Treesitter has fixed a bug upstream that at least fixed the issue from my minimal nix file. |
Thats weird, it didnt for me, running |
A more minimal example
writeShellScript (
So when I tried removing my |
The treesitter dep was updated in a very recent nightly Neovim built. See here: neovim/neovim#21858 |
I'm fairly certain that this has been resolved upstream, so I'll close this now; if I'm mistaken, ping me and I'll reopen. |
Im using this treesitter for neovim, and its been fine until I tried opening:
pkgs/development/haskell-modules/make-package-set.nix
fromnixpkgs
.Then neovim froze and started using enourmous amounts of memory until I killed neovim.
This happens every time I open that file using neovim with this treesitter, if I disable the nix treesitter parser it opens fine.
Not sure how to debug this, so this is not very helpfull, but I could easily reproduce the issue atleast.
The text was updated successfully, but these errors were encountered: