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

[bug]: Tab completion breaks syntax highlighting #2

Closed
2 of 3 tasks
alterae opened this issue Jun 23, 2022 · 2 comments
Closed
2 of 3 tasks

[bug]: Tab completion breaks syntax highlighting #2

alterae opened this issue Jun 23, 2022 · 2 comments
Labels
bug 🐞 Inconsistencies or issues which will cause a problem for users or implementors. stale 👻 No activity for quite some time. triage 📑 The issue is awaiting investigation.

Comments

@alterae
Copy link

alterae commented Jun 23, 2022

Environment

OSTYPE=darwin21.0 CPUTYPE=arm64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.8.1

Expected behavior

All tokens in the input line should receive syntax highlighting no matter what.

Current behavior

If a token is completed by pressing the TAB key, it will display without syntax highlighting until more keyboard input is provided.

Steps to reproduce

  • Begin typing the name of a program that is in the PATH (for this example, I will use neofetch). Type only part of the name, so that it is syntax highlighted in red (neof).

image

  • Press the tab key to complete the command. It will now be displayed in white.

image

  • Press any key. The syntax highlighting will return to normal.

image

Code snippet

antigen bundle zdharma-continuum/fast-syntax-highlighting

(this issue also occurs when the plugin is installed through other means)

Aditional information

This will only impact the token being tab-completed. For example, cat some_fi[TAB] will highlight cat correctly, but display some_file in white.

Self-service

  • I'd be willing to address this documentation request myself.

Have you read the Contributing Guidelines?

Are you familiar with Contributor Covenant Code of Conduct?

Contact Details

No response

@alterae alterae added bug 🐞 Inconsistencies or issues which will cause a problem for users or implementors. triage 📑 The issue is awaiting investigation. labels Jun 23, 2022
@ss-o
Copy link

ss-o commented Jun 29, 2022

antigen bundle zdharma-continuum/fast-syntax-highlighting

From the above, it seems that you opened an issue at the wrong repository.

@github-actions
Copy link

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!

@github-actions github-actions bot added the stale 👻 No activity for quite some time. label Jul 30, 2022
@github-actions github-actions bot closed this as completed Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Inconsistencies or issues which will cause a problem for users or implementors. stale 👻 No activity for quite some time. triage 📑 The issue is awaiting investigation.
Projects
None yet
Development

No branches or pull requests

2 participants