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

multiple keycodes must be separated by whitespace

Open Trard opened this issue 3 years ago • 1 comments

Found in https://neovim.io/doc/user/options.html#'wildmenu'

CTRL-N isn't highlighted, but it should be.

Context:

Keys that show the previous/next match, such as <Tab> or
CTRL-P/CTRL-N, cause the highlight to move to the appropriate match.
['wildmode'](https://neovim.io/doc/user/options.html#'wildmode') must specify "full": "longest" and "list" do not start
['wildmenu'](https://neovim.io/doc/user/options.html#'wildmenu') mode. You can check the current mode with [wildmenumode()](https://neovim.io/doc/user/builtin.html#wildmenumode()).

Trard avatar Oct 30 '22 15:10 Trard

This, like 90% of the issues with this parser, is due to it relying on whitespace to separate tokens.

If you add whitespace to separate them as in CTRL-P / CTRL-N, both keycodes are parsed fine.

clason avatar Jan 15 '23 18:01 clason