String is not highlighted in TOML when on lhs of =
operator
#11390
Replies: 2 comments
-
Quoted keys are themed and they're themed the same as unquoted keys rather than strings (since they are not strings). This is controlled by this part of the toml highlights: helix/runtime/queries/toml/highlights.scm Lines 16 to 20 in 3fcf168 And your theme's |
Beta Was this translation helpful? Give feedback.
0 replies
-
got it, thanks |
Beta Was this translation helpful? Give feedback.
0 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.
-
Summary
Strings can be given on the left of

=
in a TOML file, but these arent highlighted like other strings in the file. Screenshot attached.Does the TOML's
highlight.scm
have to be updated in theruntime
directory? I can try and submit a patch if someone could tell me which files to look at and try to modify.Reproduction Steps
Write
"test" = "test"
in a TOML file, and the left will stay unhighlighted while the right will highlightHelix log
No response
Platform
Linux
Terminal Emulator
gnome-terminal
Installation Method
built from source from releases
Helix Version
helix 24.7 (079f544)
Beta Was this translation helpful? Give feedback.
All reactions