mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Add a highlight for the keyword.storage scope to the onedark theme (#11802)
Rust highlight queries make use of keyword.storage for keywords like `struct`, `enum`, and also for modifiers like `mut` and `ref`. Using a color that's different to the one used for `"variable.parameter"` (red) improves differentiation for mutable function arguments.
This commit is contained in:
parent
083bb0118f
commit
57ec3b7330
@ -15,6 +15,7 @@
|
|||||||
"keyword.control" = { fg = "purple" }
|
"keyword.control" = { fg = "purple" }
|
||||||
"keyword.control.import" = { fg = "red" }
|
"keyword.control.import" = { fg = "red" }
|
||||||
"keyword.directive" = { fg = "purple" }
|
"keyword.directive" = { fg = "purple" }
|
||||||
|
"keyword.storage" = { fg = "purple" }
|
||||||
"label" = { fg = "purple" }
|
"label" = { fg = "purple" }
|
||||||
"namespace" = { fg = "blue" }
|
"namespace" = { fg = "blue" }
|
||||||
"operator" = { fg = "purple" }
|
"operator" = { fg = "purple" }
|
||||||
|
Loading…
Reference in New Issue
Block a user