aboutsummaryrefslogtreecommitdiff
path: root/book/src/themes.md
diff options
context:
space:
mode:
authorJake Langford2022-07-06 13:54:07 +0000
committerGitHub2022-07-06 13:54:07 +0000
commit230ba264bf78d9b4ecd42440f0cbb20529f9c235 (patch)
tree5dc84b7ee53ef7049912d1e7a3851d95a0df6df4 /book/src/themes.md
parente35abe38f31149785ea04dc8a8fc1d2649ba70af (diff)
Introduce storage highlighting for typescript/javascript (#2961)
Diffstat (limited to 'book/src/themes.md')
-rw-r--r--book/src/themes.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index 06f920d3..ad8864b2 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -151,7 +151,9 @@ We use a similar set of scopes as
- `operator` - `or`, `in`
- `directive` - Preprocessor directives (`#if` in C)
- `function` - `fn`, `func`
- - `storage` - Keywords that affect the storage of a variable, function or data structure `static`, `mut`, `const`, `ref`
+ - `storage` - Keywords describing how things are stored
+ - `type` - The type of something, `class`, `function`, `var`, `let`, etc.
+ - `modifier` - Storage modifiers like `static`, `mut`, `const`, `ref`, etc.
- `operator` - `||`, `+=`, `>`