Fixes #131. Change scope type to text. #132
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 withsource.
- then it's code. If it starts withtext.
- 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 :)
EDIT: Sorry. I thought if I name my commit like that it will be attached to #131 . Can this be merged with it?