Skip to content

fix: which-key breaks vim.v.count in visual mode#2046

Open
nathanzeng wants to merge 1 commit into
nvim-lua:masterfrom
nathanzeng:which-key-visual-bug
Open

fix: which-key breaks vim.v.count in visual mode#2046
nathanzeng wants to merge 1 commit into
nvim-lua:masterfrom
nathanzeng:which-key-visual-bug

Conversation

@nathanzeng
Copy link
Copy Markdown
Contributor

Reproduction

  1. Go to this line (currently 901 in master), and put your cursor on the first '. I marked cursor pos with | |
    local parsers = { |'|bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }
  2. Type v]n2]n
    Confirm that 'diff' is selected when in reality 'html' should be selected
  3. To confirm this fixes it, checkout this branch and then do the above steps again

Here is the issue where it is reported upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant