From 230ba264bf78d9b4ecd42440f0cbb20529f9c235 Mon Sep 17 00:00:00 2001 From: Jake Langford Date: Wed, 6 Jul 2022 13:54:07 +0000 Subject: Introduce storage highlighting for typescript/javascript (#2961) --- book/src/themes.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'book/src') 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` - `||`, `+=`, `>` -- cgit v1.2.3-70-g09d2