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

feat(main): add cmdline highlighting to allow for independent styling of the command (instead of forcing Statement) #1070

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leftspin
Copy link

@leftspin leftspin commented Mar 2, 2025

Description

Add support for highlighting the command portion (first word) in Vim cmdline:

  • Add NoiceCmdlineCommand highlight group with default link to Statement
  • Implement dedicated highlighting for command words in cmdline UI
  • Add fallback direct highlighting when syntax highlighting is insufficient
  • Ensure highlighting works regardless of buffer syntax state

This enhances the visual distinction between the command and its arguments, making the command line more readable and easier to understand at a glance.

Related Issue(s)

n/a

Add support for highlighting the command portion (first word) in Vim cmdline:

- Add NoiceCmdlineCommand highlight group with default link to Statement
- Implement dedicated highlighting for command words in cmdline UI
- Add fallback direct highlighting when syntax highlighting is insufficient
- Ensure highlighting works regardless of buffer syntax state

This enhances the visual distinction between the command and its arguments,
making the command line more readable and easier to understand at a glance.
@leftspin leftspin changed the title feat: add cmdline highlighting to allow for independent styling of the command (instead of forcing Statement) feat(main): add cmdline highlighting to allow for independent styling of the command (instead of forcing Statement) Mar 2, 2025
Copy link
Contributor

github-actions bot commented Apr 1, 2025

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the stale label Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant