new fresh install(with lazyvim) on windows hangs at Treesitter compilation step with zig #6546
Unanswered
seccentral
asked this question in
Q&A
Replies: 1 comment
-
Sorry, but we can't support lazyvim setups. Please try to create a minimal config (using the script provided) someone can test with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I'm new to nvim so i did a lot of testing and distro experimenting. Settled on lazyvim but nuked my conf often to just start from scratch and learn or just redo everything because I messed it up completely.
So I know for a fact that this used to work just fine and is a recent problem (1 week or so at most)
Here's how nvim looks like with all compile tasks just taking space :
here's the details on one of them :
zig c++ -o parser.so src/parser.c -lc -Isrc -shared -Os
Current directory: "C:\Users\User\AppData\Local\nvim-data\tree-sitter-json" (this is just one, others are obviously stuck within their own respective workding directories, so this is not a "tree-sitter-json" problem, that just happens to be the current thing.
To Reproduce
Install nvim, install zig, add it to path, git clone lazygit, launch nvim, observe the intial setup:
notice that for as long as the toast notification in the upper right corner stays active, the amount of zig compile taks in the background run. The moment that notification dissapears (or because it dissapears, who knows) nothing else happens and the list of processes just show a bunch of zigs sitting idly. They never complete the initial build.
This also happens on normal updates which need to trigger multiple zig recompiles.
This is also workaround(ed) by closing nvim, starting it again and repeating that for as many times as it takes since each run manages to finish compiling one or two tasks. (6-7 runs is enough on my machine)
Expected behavior
The compile step should run through all taks successfuly and display a completion notification starting with 1/n up to n/n and there should be no zig processes idling in the background
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
that's about it, i think.
Beta Was this translation helpful? Give feedback.
All reactions