Set `comment-end' to make hide-show heuristic work

master
Vasilij Schneidermann 2024-03-17 17:01:46 +01:00
parent 5b58248ab2
commit 7b5ce294fb
1 changed files with 1 additions and 0 deletions

View File

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