Comments (3)
The #
is being marked as punctuation.definition.preprocessor
(I'll addd meta.preprocessor.swift
here) and the if/endif
are being marked as meta.preprocessor.c
(I'll change this to meta.preprocessor.swift
), which in my color scheme look like the above.
from decent-swift-syntax.
The meta
scopes are not supposed to be highlighted by a .sublime-color-scheme. The C syntax uses keyword.control
for all of these preprocessor keywords. Consider adding keyword.control
for Swift, too.
from decent-swift-syntax.
I followed the guidelines at https://www.sublimetext.com/docs/scope_naming.html#meta - and zenburn works well for me. A PR is welcome, but I don't have a way of testing these changes, and so I don't have an easy path to implement them.
from decent-swift-syntax.
Related Issues (15)
- Join forces? HOT 19
- Just me or does this syntax make base16 color schemes very red? HOT 7
- For in loops do not highlight correctly HOT 5
- 2.0.1 breaks syntax highlighting HOT 7
- Package name causes issues on Package Control HOT 4
- Missing license HOT 2
- Variable names not colored with inferred types
- Why change word wrapping?
- add .swiftinterface as a file extension HOT 1
- Auto-indentation breaks with lazy variables
- Get source.swift invalid when I shouldn't HOT 3
- swift struct can have parent. So, it is not invalid. HOT 2
- String with leading period doesn't highlight correctly HOT 2
- Goto Symbol doesn't work HOT 10
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 decent-swift-syntax.