Neither haml- nor sass-mode should have any font-lock stuff. Also sass was crashing.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@423 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
54a35efd06
commit
ceb46f1396
|
@ -110,15 +110,6 @@
|
|||
(set (make-local-variable 'indent-line-function) 'haml-indent-line)
|
||||
(set (make-local-variable 'font-lock-defaults) '(sample-font-lock-keywords)))
|
||||
|
||||
;; Font-lock support
|
||||
|
||||
(defvar haml-font-lock-keywords
|
||||
(list
|
||||
(cons haml-tag-re '(1 font-lock-function-name-face))
|
||||
'("function \\(\\sw+\\)" (1 font-lock-function-name-face))
|
||||
'("^[\t]+" 0 'haml-tab-face t))
|
||||
"Expressions to highlight in Haml mode.")
|
||||
|
||||
;; Indentation and electric keys
|
||||
|
||||
(defun haml-compute-indentation ()
|
||||
|
|
|
@ -86,15 +86,6 @@
|
|||
(set (make-local-variable 'indent-line-function) 'sass-indent-line)
|
||||
(set (make-local-variable 'font-lock-defaults) '(sample-font-lock-keywords)))
|
||||
|
||||
;; Font-lock support
|
||||
|
||||
(defvar sass-font-lock-keywords
|
||||
(list
|
||||
(cons sass-tag-re '(1 font-lock-function-name-face))
|
||||
'("function \\(\\sw+\\)" (1 font-lock-function-name-face))
|
||||
'("^[\t]+" 0 'sass-tab-face t))
|
||||
"Expressions to highlight in Sass mode.")
|
||||
|
||||
;; Indentation and electric keys
|
||||
|
||||
(defun sass-compute-indentation ()
|
||||
|
|
Loading…
Reference in New Issue