summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/yaml-mode.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/yaml-mode.el')
-rw-r--r--.emacs.d/lisp/yaml-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el
index c748b6c..1bfa43b 100644
--- a/.emacs.d/lisp/yaml-mode.el
+++ b/.emacs.d/lisp/yaml-mode.el
@@ -272,7 +272,8 @@ that key is pressed to begin a block literal."
272 (sps (save-excursion (syntax-ppss (1- pt))))) 272 (sps (save-excursion (syntax-ppss (1- pt)))))
273 (when (not (nth 8 sps)) 273 (when (not (nth 8 sps))
274 (cond 274 (cond
275 ((and (char-equal ?' (char-before (1- pt))) 275 ((and (char-before (1- pt))
276 (char-equal ?' (char-before (1- pt)))
276 (char-equal ?' (char-before pt))) 277 (char-equal ?' (char-before pt)))
277 (put-text-property (- pt 2) pt 278 (put-text-property (- pt 2) pt
278 'syntax-table (string-to-syntax "w")) 279 'syntax-table (string-to-syntax "w"))