Skip to content

Commit

Permalink
Set `comment-end' to make hide-show heuristic work
Browse files Browse the repository at this point in the history
  • Loading branch information
wasamasa committed Mar 17, 2024
1 parent 5b58248 commit 7b5ce29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions yaml-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7b5ce29

Please sign in to comment.