diff options
author | Blaž Hrastnik | 2021-09-07 04:00:52 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-09-07 04:03:48 +0000 |
commit | 4cc562318a9987d58384fdb4e88e5a1f59f25a19 (patch) | |
tree | 7ff80089aedbc0767a7a86cf0108cbdebd0f3ca2 /runtime | |
parent | 4ac29434cb99b517dba3752a287c0edfe8679e7e (diff) |
Improve docs, fix up a few highlight scopes
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/ocaml/highlights.scm | 2 | ||||
-rw-r--r-- | runtime/queries/rust/highlights.scm | 2 | ||||
-rw-r--r-- | runtime/themes/dark_plus.toml | 1 | ||||
-rw-r--r-- | runtime/themes/monokai.toml | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/runtime/queries/ocaml/highlights.scm b/runtime/queries/ocaml/highlights.scm index 5554574d..160f2cb4 100644 --- a/runtime/queries/ocaml/highlights.scm +++ b/runtime/queries/ocaml/highlights.scm @@ -60,7 +60,7 @@ [(number) (signed_number)] @number -(character) @constant.builtin.character +(character) @constant.character (string) @string diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index c76d6adf..956a5dac 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -149,7 +149,7 @@ (mutable_specifier) @keyword.mut - +; TODO: variable.mut to highlight mutable identifiers via locals.scm ; ------- ; Guess Other Types diff --git a/runtime/themes/dark_plus.toml b/runtime/themes/dark_plus.toml index c105d52b..7eeb3f95 100644 --- a/runtime/themes/dark_plus.toml +++ b/runtime/themes/dark_plus.toml @@ -34,6 +34,7 @@ "comment" = { fg = "#6A9955" } "string" = { fg = "#ce9178" } +"string.regexp" = { fg = "regex" } "number" = { fg = "#b5cea8" } "escape" = { fg = "#d7ba7d" } diff --git a/runtime/themes/monokai.toml b/runtime/themes/monokai.toml index 2407591a..a8f03ff3 100644 --- a/runtime/themes/monokai.toml +++ b/runtime/themes/monokai.toml @@ -34,6 +34,7 @@ "comment" = { fg = "#88846F" } "string" = { fg = "#e6db74" } +"string.regexp" = { fg = "regex" } "number" = { fg = "#ae81ff" } "escape" = { fg = "#ae81ff" } |