Closed doongjohn closed 2 months ago
I assume that's because it's not compiling scanner.c. See https://github.com/nushell/tree-sitter-nu/pull/113#issuecomment-2371678047
/cc @mrdgo
How do you setup tree-sitter-nu
?
This broke for me too. I'm using nix to build and install the grammar and now neovim silently crashes whenever I open an nu
file.
I get a silent crash too, but it returns -1073741819
as an exit code.
How do you setup
tree-sitter-nu
?
I just added nushell/tree-sitter-nu
as a dependency of nvim-treesitter/nvim-treesitter
via Lazy nvim.
'nvim-treesitter/nvim-treesitter',
dependencies = {
'nushell/tree-sitter-nu',
},
build = ':TSUpdate',
Btw the same config works fine in WSL2 (which has clang 18.1.8). Edit: Compilation works but nvim crash.
Ah okay, I can reproduce. It only happens on v0.10.1 - I am on nightly and have no issues.
@fdncred What do you think, we revert until I fixed the problem?
Edit: I won't be able to look into this before tomorrow evening (european time)
Oh, glad you figured out that it's on 0.10.1. Yes, let's revert until we can find a way forward. I just landed the revert. https://github.com/nushell/tree-sitter-nu/pull/116
I'm back to normal now. Closing this issue since the revert seems to have fixed it.
neovim version: v0.10.1 clang version: 19.1.0 OS: Windows 11