diff --git a/src/app/text-mate-bundle.coffee b/src/app/text-mate-bundle.coffee index ec7575097..a42c60297 100644 --- a/src/app/text-mate-bundle.coffee +++ b/src/app/text-mate-bundle.coffee @@ -32,6 +32,10 @@ class TextMateBundle @getPreferenceInScope: (scopeSelector, preferenceName) -> @preferencesByScopeSelector[scopeSelector][preferenceName] + @lineCommentStringForScope: (scope) -> + shellVariables = @getPreferenceInScope(scope, 'shellVariables') + lineComment = (_.find shellVariables, ({name}) -> name == "TM_COMMENT_START")['value'] + grammars: null constructor: (@path) ->