Open getchoo opened 1 month ago
nowhere near information.what neovim/ what nixpkgs ? Does it crash with regex-based syntax or the grammar you install ? how ?
This is also not reproducible when installing the grammar through nvim-treesitter
You can install those via nix too pkgs.vimPlugins.nvim-treesitter-parsers.nix
for instance. They might get outdated in which case you can run the updater. Depends if you run neovim unstable or stable too. My personal take is that for this kind of trouble you are on your own. treesitter + neovim is not robust.
what neovim
From nixpkgs
$ nvim --version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713773202
Run "nvim -V1 -v" for more info
what nixpkgs
From the nixos-unstable
branch
$ nixos-version --revision
06cf0e1da4208d3766d898b7fdab6513366d45b9
Does it crash with regex-based syntax or the grammar you install ?
This is said in the title of the issue: the treesitter grammar
how ?
As I said
Neovim crashes with no errors in the log
:messages
also has no output, and gdb
doesn't seem to be able to get a backtrace either. Only an error code of 0123
This can be reproduced locally with nix run github:getchoo/getchvim -- /path/to/the/file/above.vto
(which uses a different revision of nixpkgs than my system at 28b5b8af91ffd2623e995e20aee56510db49001a, but demonstrates the same behavior)
Describe the bug
On opening any Vento file using Vento's syntax, Neovim crashes with no errors in the log
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Vento treesitter highlighting works
Screenshots
n/a
Additional context
Removing Vento specific syntax like
{{ include "other_file".vto }}
in the above file doesn't cause a crash, so this doesn't appear to be an issue with its injections. This is also not reproducible when installing the grammar throughnvim-treesitter
itselfNotify maintainers
@figsoda
Metadata
Add a :+1: reaction to issues you find important.