aboutsummaryrefslogtreecommitdiffstats
path: root/emmet-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'emmet-mode.el')
-rw-r--r--emmet-mode.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emmet-mode.el b/emmet-mode.el
index 75012cf..193c20f 100644
--- a/emmet-mode.el
+++ b/emmet-mode.el
@@ -3719,8 +3719,9 @@ See also `emmet-expand-line'."
(length str)))) ; ok, just go to the end
(defun emmet-css-next-insert-point (str)
- (string-match ": *\\(;\\)$" str)
- (or (match-beginning 1) (length str)))
+ (let ((regexp (if emmet-use-sass-syntax ": *\\($\\)" ": *\\(;\\)$")))
+ (string-match regexp str)
+ (or (match-beginning 1) (length str))))
(defvar emmet-flash-ovl nil)
(make-variable-buffer-local 'emmet-flash-ovl)