diff options
author | Jake Langford | 2022-07-06 13:54:07 +0000 |
---|---|---|
committer | GitHub | 2022-07-06 13:54:07 +0000 |
commit | 230ba264bf78d9b4ecd42440f0cbb20529f9c235 (patch) | |
tree | 5dc84b7ee53ef7049912d1e7a3851d95a0df6df4 /book | |
parent | e35abe38f31149785ea04dc8a8fc1d2649ba70af (diff) |
Introduce storage highlighting for typescript/javascript (#2961)
Diffstat (limited to 'book')
-rw-r--r-- | book/src/themes.md | 4 |
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` - `||`, `+=`, `>` |