branch: elpa/yaml-mode
commit 7b5ce294fb15c2c8926fa476d7218aa415550a2a
Author: Vasilij Schneidermann <m...@vasilij.de>
Commit: Vasilij Schneidermann <m...@vasilij.de>

    Set `comment-end' to make hide-show heuristic work
---
 yaml-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/yaml-mode.el b/yaml-mode.el
index 990493f6f3..9706f6bdff 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -222,6 +222,7 @@ that key is pressed to begin a block literal."
   :syntax-table yaml-mode-syntax-table
   (set (make-local-variable 'comment-start) "# ")
   (set (make-local-variable 'comment-start-skip) "#+ *")
+  (set (make-local-variable 'comment-end) "")
   (set (make-local-variable 'indent-line-function) 'yaml-indent-line)
   (set (make-local-variable 'indent-tabs-mode) nil)
   (set (make-local-variable 'fill-paragraph-function) 'yaml-fill-paragraph)

Reply via email to