emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/yaml-mode aa7f04d8aa 3/3: Merge pull request #110 from can


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode aa7f04d8aa 3/3: Merge pull request #110 from canatella/patch-1
Date: Mon, 20 Nov 2023 01:00:58 -0500 (EST)

branch: elpa/yaml-mode
commit aa7f04d8aaeb1b580904a84cadf561721d9acdbb
Merge: 23395dfcf0 701b2ec4b8
Author: Shohei YOSHIDA <syohex@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #110 from canatella/patch-1
    
    Allow page navigation
---
 yaml-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/yaml-mode.el b/yaml-mode.el
index c18fcd9022..990493f6f3 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -225,6 +225,7 @@ that key is pressed to begin a block literal."
   (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)
+  (set (make-local-variable 'page-delimiter) "^---\\([ \t].*\\)*\n")
 
   (set (make-local-variable 'syntax-propertize-function)
        'yaml-mode-syntax-propertize-function)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]