Skip to content

Commit

Permalink
Fix namespace highlighting with uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
icedrocket authored and Wilfred committed Sep 22, 2023
1 parent 8bcd63a commit 328a682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion syntaxes/rust.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@
"patterns": [
{
"comment": "namespace (non-type, non-function path segment)",
"match": "(?<![A-Za-z0-9_])([a-z0-9_]+)((?<!super|self)::)",
"match": "(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!super|self)::)",
"captures": {
"1": {
"name": "entity.name.namespace.rust"
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/rust.tmLanguage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ repository:
patterns:
-
comment: namespace (non-type, non-function path segment)
match: (?<![A-Za-z0-9_])([a-z0-9_]+)((?<!super|self)::)
match: (?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!super|self)::)
captures:
1:
name: entity.name.namespace.rust
Expand Down

0 comments on commit 328a682

Please sign in to comment.