mirror of
https://github.com/zhigang1992/sass.git
synced 2026-04-29 17:55:47 +08:00
[Emacs] Properly highlight single-quoted strings.
This was markedly easier than I thought it would be. Now I feel silly for putting it off for so long. Closes gh-33
This commit is contained in:
@@ -136,7 +136,8 @@ and `font-lock-syntactic-keywords', respectively."
|
||||
|
||||
(defun haml-fontify-region-as-ruby (beg end)
|
||||
"Use Ruby's font-lock variables to fontify the region between BEG and END."
|
||||
(haml-fontify-region beg end ruby-font-lock-keywords nil
|
||||
(haml-fontify-region beg end ruby-font-lock-keywords
|
||||
ruby-font-lock-syntax-table
|
||||
ruby-font-lock-syntactic-keywords))
|
||||
|
||||
(defun haml-handle-filter (filter-name limit fn)
|
||||
|
||||
Reference in New Issue
Block a user