Replies: 1 comment 2 replies
-
Hi, You can use an existing highlight name with "my.custom.attribute" = { fg = "base7", modifiers = ["italic"] } Both must be placed after all operators, or you must remove "!" from the list of operators, otherwise the list will take precedence. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'd like to be able to theme the
!
operator in Rust so that it's easier to spot (basically for the same reason as https://toot.liw.fi/@liw/114187527572249038 but without adding whitespace).It looks like all operators have to be themed the same way, though. Is that what this means?
helix/runtime/queries/rust/highlights.scm
Lines 12 to 55 in b7d735f
Is it possible to theme just the
!
operator or would this require an enhancement to the rusthighlights.scm
file?Beta Was this translation helpful? Give feedback.
All reactions