Unnamed repository; edit this file 'description' to name the repository.
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.
Ian Hobson 2024-10-01
parent 083bb01 · commit 57ec3b7
-rw-r--r--runtime/themes/onedark.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/themes/onedark.toml b/runtime/themes/onedark.toml
index 7cdeac09..818b8c94 100644
--- a/runtime/themes/onedark.toml
+++ b/runtime/themes/onedark.toml
@@ -15,6 +15,7 @@
"keyword.control" = { fg = "purple" }
"keyword.control.import" = { fg = "red" }
"keyword.directive" = { fg = "purple" }
+"keyword.storage" = { fg = "purple" }
"label" = { fg = "purple" }
"namespace" = { fg = "blue" }
"operator" = { fg = "purple" }