diff options
author | Kirawi | 2021-11-03 03:00:52 +0000 |
---|---|---|
committer | GitHub | 2021-11-03 03:00:52 +0000 |
commit | ee889aaa854d0036da3bae16252bc382e50b0df6 (patch) | |
tree | 6b084b76276c1c8f7b6af331329f89f5623f3b4a /book/src/themes.md | |
parent | 7a0c4322eaeef7325878abe9a99adde4ad905f5e (diff) |
Updated tree-sitter query scopes (#896)
* updated theme scopes
variable.property -> variable.field
property -> variable.field
* updated theme scopes
* update book and themes
updated book and themes to reflect scope changes
* wip
* update more queries
* update dark_plus.toml
Diffstat (limited to 'book/src/themes.md')
-rw-r--r-- | book/src/themes.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/book/src/themes.md b/book/src/themes.md index 5a4d0403..ecbbb6e9 100644 --- a/book/src/themes.md +++ b/book/src/themes.md @@ -103,8 +103,6 @@ We use a similar set of scopes as [SublimeText](https://www.sublimetext.com/docs/scope_naming.html). See also [TextMate](https://macromates.com/manual/en/language_grammars) scopes. -- `escape` (TODO: rename to (constant).character.escape) - - `type` - Types - `builtin` - Primitive types provided by the language (`int`, `usize`) @@ -112,8 +110,11 @@ We use a similar set of scopes as - `builtin` Special constants provided by the language (`true`, `false`, `nil` etc) - `boolean` - `character` + - `escape` + - `numeric` (numbers) + - `integer` + - `float` -- `number` (TODO: rename to constant.number/.numeric.{integer, float, complex}) - `string` (TODO: string.quoted.{single, double}, string.raw/.unquoted)? - `regexp` - Regular expressions - `special` @@ -129,7 +130,8 @@ We use a similar set of scopes as - `variable` - Variables - `builtin` - Reserved language variables (`self`, `this`, `super`, etc) - `parameter` - Function parameters - - `property` + - `other` + - `member` - Fields of composite data types (e.g. structs, unions) - `function` (TODO: ?) - `label` |