tree-sitter-vim icon indicating copy to clipboard operation
tree-sitter-vim copied to clipboard

Tree-sitter parser for Vimscript

Results 14 tree-sitter-vim issues
Sort by recently updated
recently updated
newest added

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: ($)...

### 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...

enhancement

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. ![image](https://github.com/neovim/tree-sitter-vim/assets/11695670/24548446-a213-47a6-bc79-6d3a97190963)

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: ![image](https://github.com/neovim/tree-sitter-vim/assets/934679/c7486e64-d114-41a4-8362-c5f90e3d007a)

# 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) ![image](https://github.com/neovim/tree-sitter-vim/assets/74924917/c1d8497e-b918-4a24-82b9-673de213b0af) 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...

bug