Comments (3)
Yes -- I noticed this as well. How do we fix it?
from coffee-script-tmbundle.
It seems they are always indented one extra level. If you change indentation size, subsequent lines will be pushed to the right by that size.
After some research I see it's a more general ST2 problem. Many syntaxes are affected, among them Coffescript syntax from @Xavura as well as your's literate and "illiterate". So are most "code" syntaxes (C, Python, YAML etc.). The ones that work as expected are XML, HTML, plain text and literate haskell. The last one is interesting, because "illiterate" haskel doesn't work.
So I guess there must be some setting for this that must be explicitly set.
from coffee-script-tmbundle.
I've just noticed that wrapped comments are indented correctly. Take a look at line 21 with and without comment.
from coffee-script-tmbundle.
Related Issues (20)
- console.log showing up in function browser dropdown
- Syntax highlighting broken for division operator; thinks a regex has started. HOT 2
- H1, H2, H3 Snippets Lack UUID
- Functions named after keywords are not highlighted correctly
- Literate file markdown folding
- Pull #137 removes CoffeeScript highlighting. HOT 4
- CoffeeScript (Literate) is in bundle list but not CoffeeScript
- Incorrect Syntax Highlighting (regex string)
- a = 1/4 oranges everything afterwards HOT 2
- Building CoffeeScript in Sublime Text on Win 7
- Highlight error when regular expression contains hashes
- [grammar] Variable name in assignment includes the space before the equal sign HOT 2
- Snippets inside literate files HOT 1
- Improper highlighting of multi-line function definitions HOT 2
- License? HOT 1
- Parsing bug with slashes (/) inside brackets ([]) HOT 2
- Issue with CoffeeScript block comment syntax on Github viewer
- env: node: No such file or directory
- Unable to install bundle on OSX 10.13.1 (17B1003)
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 coffee-script-tmbundle.