tree-sitter-vim
tree-sitter-vim copied to clipboard
Tree-sitter parser for Vimscript
I used `seq("=", ...)` because `command("=", ...)` didn't work. ```diff diff --git a/grammar.js b/grammar.js index 29f07e4..424fd88 100644 --- a/grammar.js +++ b/grammar.js @@ -307,7 +307,11 @@ module.exports = grammar({ colorscheme_statement: ($)...
The ci is failing because of this on master.
### Did you check the tree-sitter docs? - [X] I have read all the [tree-sitter docs](https://tree-sitter.github.io/tree-sitter/using-parsers) if it relates to using the parser ### Is your feature request related to...
Adds support for double, triple, and quadruple click. Current, adding the number before the click leads to incorrect highlighting. nvim version: ``` NVIM v0.10.0-dev-2355+g1c7b0b9d5 Build type: RelWithDebInfo LuaJIT 2.1.1707061634 Run...
See the different `cterm=bold` and other `cterm` commands using different HL groups. It doesn't look right. 
This PR adds support for syntax such as `source `. According to Neovim docs under `:h afile`, this is valid syntax but the parser currently errors out with this: 
# Problem The `set_value` node covers later nodes, causing weird highlights for perfectly working expressions like this one: (`` is parsed as part of the option's value)  Same example...
### Did you check existing issues? - [x] I have read all the [tree-sitter docs](https://tree-sitter.github.io/tree-sitter/using-parsers) if it relates to using the parser - [X] I have searched the existing issues...