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

interferes with fast-syntax-highlighting bracket highlights #284

Open
3 tasks done
ibrokemypie opened this issue Jun 13, 2024 · 0 comments
Open
3 tasks done

interferes with fast-syntax-highlighting bracket highlights #284

ibrokemypie opened this issue Jun 13, 2024 · 0 comments

Comments

@ibrokemypie
Copy link

General information

  • Terminal program: unknown unknown (foot 1.17.2)
  • Operating system: Linux (6.6.32 Unsupported grep -P option on Mac OS #1-NixOS SMP PREEMPT_DYNAMIC Sat May 25 14:22:56 UTC 2024 x86_64 GNU/Linux) (nix)
  • ZSH framework: Manual
  • ZSH version: zsh 5.9 (x86_64-pc-linux-gnu)
  • ZVM version: zsh-vi-mode 0.11.0

Basic examination

  • I have read through the README page
  • I have the latest version of zsh-vi-mode
  • I have tested with another terminal program

Problem description

When using zsh-vi-mode in combination with fast-syntax-highlighting (https://github.com/zdharma-continuum/fast-syntax-highlighting) the bracket pair highlighting gets confused in normal mode, and only highlights the other bracket of the pair, not the bracket the cursor is actually sitting on.

Reproduction steps

  1. Install zsh-vi-mode and fast-syntax-highlighting
  2. Type cat ({})
  3. Enter normal mode
  4. Move your cursor to ) and observe that ( is the only character highlighted (same goes for } or the other way with the pairs)

Expected behavior

Both brackets are highlighted, the one that is currently selected in the normal colour, and its pair in another colour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant