Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple keycodes must be separated by whitespace #58

Open
Trard opened this issue Oct 30, 2022 · 1 comment
Open

multiple keycodes must be separated by whitespace #58

Trard opened this issue Oct 30, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Trard
Copy link

Trard commented Oct 30, 2022

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 Trard changed the title Incorrenct parse Incorrect parse Oct 30, 2022
@justinmk justinmk changed the title Incorrect parse only first keycode is parsed in multiple adjacent keycodes Oct 31, 2022
@justinmk justinmk added the bug Something isn't working label Oct 31, 2022
@clason
Copy link
Member

clason commented Jan 15, 2023

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.

@justinmk justinmk changed the title only first keycode is parsed in multiple adjacent keycodes multiple keycodes must be separated by whitespace Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants