tree-sitter-vimdoc
tree-sitter-vimdoc copied to clipboard
more syntax features: keycodes, special, parameters
In testing this parser for nvim-treesitter (https://github.com/nvim-treesitter/nvim-treesitter/pull/2679), I noticed that some features are not yet supported, especially
- [x] Parameters as in
{pattern} - [x] Keycodes and chords as in
<c-o>andCTRL-O - [x] Command modifiers as in
[range](that's just a bunch of literals, and so could simply be listed as anonymous nodes in the highlight query) - [ ] optional arguments #109
- [x] modelines? https://github.com/neovim/tree-sitter-vimdoc/pull/125
(See https://github.com/nanotee/vimdoc-notes for the most comprehensive specification of vimdoc I've seen so far.)
I will use this issue as tracking for missing features in the language if that's okay for you, feel free to add stuff to the original comment.