diff: Fix rust syntax for `use` imports
c4d6bc49f7bda8a2337edb7cfe60484007ca6484
1 parent
e368e371
crates/diff/src/syntaxes/rust.json
+3 -0
| 185 | 185 | { |
|
| 186 | 186 | "include": "#types" |
|
| 187 | 187 | }, |
|
| 188 | 188 | { |
|
| 189 | 189 | "include": "#lvariables" |
|
| 190 | + | }, |
|
| 191 | + | { |
|
| 192 | + | "include": "#variables" |
|
| 190 | 193 | } |
|
| 191 | 194 | ] |
|
| 192 | 195 | }, |
|
| 193 | 196 | { |
|
| 194 | 197 | "include": "#block-comments" |
crates/diff/src/themes/rustik-catppuccin-mocha.json
+4 -1
| 863 | 863 | "settings": { |
|
| 864 | 864 | "foreground": "#89dceb" |
|
| 865 | 865 | } |
|
| 866 | 866 | }, |
|
| 867 | 867 | { |
|
| 868 | - | "scope": "entity.name.namespace", |
|
| 868 | + | "scope": [ |
|
| 869 | + | "entity.name.namespace", |
|
| 870 | + | "meta.use.rust variable.other.rust" |
|
| 871 | + | ], |
|
| 869 | 872 | "settings": { |
|
| 870 | 873 | "foreground": "#f9e2af" |
|
| 871 | 874 | } |
|
| 872 | 875 | }, |
|
| 873 | 876 | { |