tree-sitter / tree-sitter-rust

Rust grammar for tree-sitter
MIT License
350 stars 98 forks source link

Crashes with following syntax #135

Closed danielnehrig closed 2 years ago

danielnehrig commented 2 years ago

if i open a document with the following syntax inside the file neovim crashes (in my case) since i just recently updated to the latest version of the current master of the grammer the issue started occurring though i will not rule out that it's also a flaw in the editor implementation

pub mod auth {
    tonic::include_proto!("auth");
}

adding this to any rust file makes neovim crash i just wanna confirm here if it's a issue with the rust grammer or if i need to open a issue on the editor implementation side of things

danielnehrig commented 2 years ago

i don't think this is a issue on grammer level since it crashes somewhere else as well sorry