Skip to content

Commit

Permalink
Fixes jashkenas#131. Change scope type to text.
Browse files Browse the repository at this point in the history
It seems Sublime Text 2 have a habit of pushing subsequent lines of wrapped **code** one indentation level to the right. It does not do this with **text** (as opposed to code). Whether scope is considered code or text depends on `scopeName` property. If it starts with `source.` - then it's code. If it starts with `text.` - then it's text. Probably it would be better to make prose text and code - code, but I don't know how to.

I think this change makes sense in a way. In literate programming we focus on prose. So it's more text then source... Kinda :)
  • Loading branch information
tad-lispy committed Apr 8, 2013
1 parent c0ce677 commit 586d7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Syntaxes/CoffeeScript (Literate).tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -1814,7 +1814,7 @@
</dict>
</dict>
<key>scopeName</key>
<string>source.litcoffee</string>
<string>text.litcoffee</string>
<key>uuid</key>
<string>70456B1D-AC94-4E9B-81AB-426F0D1ACB86</string>
</dict>
Expand Down

0 comments on commit 586d7ae

Please sign in to comment.