Skip to content

Commit

Permalink
Merge pull request #11 from jschaf/9afd3def
Browse files Browse the repository at this point in the history
Fix syntax bug that didn't match all comments.
  • Loading branch information
antonj committed Apr 29, 2012
2 parents d663069 + 9afd3de commit 2d25dec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scss-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ Special commands:
(font-lock-add-keywords nil scss-font-lock-keywords)
;; Add the single-line comment syntax ('//', ends with newline)
;; as comment style 'b' (see "Syntax Flags" in elisp manual)
(modify-syntax-entry ?/ ". 124b" css-mode-syntax-table)
(modify-syntax-entry ?\n "> b" css-mode-syntax-table)
(modify-syntax-entry ?/ ". 124" css-mode-syntax-table)
(modify-syntax-entry ?* ". 23b" css-mode-syntax-table)
(modify-syntax-entry ?\n ">" css-mode-syntax-table)
(add-to-list 'compilation-error-regexp-alist scss-compile-error-regex)
(add-hook 'after-save-hook 'scss-compile-maybe nil t))

Expand Down

0 comments on commit 2d25dec

Please sign in to comment.