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

more syntax features: keycodes, special, parameters

Open clason opened this issue 3 years ago • 1 comments

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> and CTRL-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.)

clason avatar Mar 26 '22 18:03 clason

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.

vigoux avatar Apr 01 '22 14:04 vigoux