Skip to content

Commit

Permalink
SCSS: Use '//' for line comments in SCSS - fixes #866
Browse files Browse the repository at this point in the history
This enables additional features like Shift+Enter continues a comment.

rn=

(integrated from master branch change 9.2.1-692-g32999a9 by Mitchell <mitchellb@activestate.com>)
  • Loading branch information
mitchell-as committed Nov 16, 2015
1 parent 9a7f525 commit 98ab375
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/languages/koCSSLanguage.py
Expand Up @@ -142,6 +142,12 @@ class koSCSSLanguage(koCSSCommonLanguage):
_reg_clsid_ = "b35862ad-7349-453e-8bf6-73177f98c98e"
_reg_categories_ = [("komodo-language", name)]

commentDelimiterInfo = {
"block": [ ("/*", "*/") ],
"markup": "*",
"line": ["//"],
}

primary = 1

def get_lexer(self):
Expand Down

0 comments on commit 98ab375

Please sign in to comment.