[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:
Nathan Weizenbaum
2010-06-06 00:41:02 -07:00
parent f7292090ba
commit 547b2a0583

View File

@@ -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)