Comments (1)
I discovered that all control statement keyword like break
or continue
shares the scope keyword.control.loop
, and keyword.control.default
seems only to be used in export or import statement. So this question could be solved by:
Simply set keyword.control.default
's value as the modifier, since the default
keyword in loop uses another scope.
from typescript-tmlanguage.
Related Issues (20)
- Return argument not colored properly if multiline
- Unexpected coloring of the token in the editor HOT 4
- import attributes have weird scopes
- Support the RegExp `v` flag
- package-lock.json update failed HOT 1
- package-lock.json update failed HOT 1
- package-lock.json update failed HOT 1
- package-lock.json update failed HOT 1
- package-lock.json update failed HOT 1
- Syntax highlighting: generic type arguments are highly affected by whitespace and other irrelevant context HOT 1
- package-lock.json update failed
- package-lock.json update failed
- TSX Default Generic Arrow Function Syntax Highlighting HOT 2
- Collapse Pick Record .... in Typescript
- Highlighting breaks when casting a variable called `type`
- Wrong color in JSDoc when using extends from a class having multiple generic parameter
- No color on default template argument HOT 1
- Tokenising failure on parenthesis-wrapped object literal's type assertion operators `as keyof typeof`
- typescript type textMate scopes highlighting error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-tmlanguage.