mike
mike
i think queries should be written for tree-sitter-based editors to enable syntax highlighting resources: - [official tree-sitter query docs](https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries) - neovim - [nvim-treesitter docs](https://github.com/nvim-treesitter/nvim-treesitter/blob/master/CONTRIBUTING.md) - helix - [helix query docs](https://docs.helix-editor.com/guides/textobject.html)...
## Description This PR attempts to change the way we parse definitions (`def` and `extern`). This attempt should solve a few issues: 1. Prevent this [issue](https://github.com/nushell/nushell/blob/ebc7b80c23f777f70c5053cca428226b3fe00d30/crates/nu-parser/src/parse_keywords.rs#L226) where we parse signatures...