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

Improve highlighting of format verbs in format string arguments #1

Open
antoniusnaumann opened this issue Apr 7, 2024 · 0 comments
Labels
bug Something isn't working highlighting Syntax highlighting

Comments

@antoniusnaumann
Copy link

antoniusnaumann commented Apr 7, 2024

Encountered behavior:

Formatting verbs in format arguments are highlighted the same way as the string.

Expected behavior:

Formatting verbs should be specially highlighted.

Context:

Formatting verbs such as #v or T can be appended in Goto by putting a : after the format arg, e.g.:
"I have \(appleCount:d) apples"

Resources:

Standard neovim highlighting groups:
https://neovim.io/doc/user/treesitter.html#treesitter-highlight

@antoniusnaumann antoniusnaumann added bug Something isn't working highlighting Syntax highlighting labels Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working highlighting Syntax highlighting
Projects
None yet
Development

No branches or pull requests

1 participant