Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JavaScript] [TypeScript] Use keyword.declaration for class, interface, and namespace #2645

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion JavaScript/JavaScript.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ contexts:

class:
- match: class{{identifier_break}}
scope: storage.type.class.js
scope: keyword.declaration.class.js
set:
- class-meta
- class-body
Expand Down
4 changes: 2 additions & 2 deletions JavaScript/TypeScript.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ contexts:

ts-interface-declaration:
- match: interface{{identifier_break}}
scope: storage.type.js
scope: keyword.declaration.js
set:
- ts-interface-meta
- ts-type-body
Expand Down Expand Up @@ -330,7 +330,7 @@ contexts:

ts-namespace-declaration:
- match: namespace{{identifier_break}}
scope: storage.type.js
scope: keyword.declaration.js
set:
- ts-namespace-meta
- block
Expand Down
Binary file added JavaScript/tests/.DS_Store
Binary file not shown.
Loading