From 586d7aea1c9d70edc07bdaf3e575b1e404c18a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tadeusz=20=C5=81azurski?= Date: Mon, 8 Apr 2013 20:36:03 +0300 Subject: [PATCH] Fixes #131. Change scope type to text. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 :) --- Syntaxes/CoffeeScript (Literate).tmLanguage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/CoffeeScript (Literate).tmLanguage b/Syntaxes/CoffeeScript (Literate).tmLanguage index 8cbd5c8..eb60c09 100644 --- a/Syntaxes/CoffeeScript (Literate).tmLanguage +++ b/Syntaxes/CoffeeScript (Literate).tmLanguage @@ -1814,7 +1814,7 @@ scopeName - source.litcoffee + text.litcoffee uuid 70456B1D-AC94-4E9B-81AB-426F0D1ACB86