[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/yaml-mode 059c255 030/124: Merge branch 'master' of github
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/yaml-mode 059c255 030/124: Merge branch 'master' of github.com:yoshiki/yaml-mode |
Date: |
Sun, 29 Aug 2021 11:36:07 -0400 (EDT) |
branch: elpa/yaml-mode
commit 059c255e68abfc6294d1e199a85940ef14a3afa1
Merge: c2ac933 1a779ba
Author: Yoshiki Kurihara <clouder@gmail.com>
Commit: Yoshiki Kurihara <clouder@gmail.com>
Merge branch 'master' of github.com:yoshiki/yaml-mode
---
yaml-mode.el | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/yaml-mode.el b/yaml-mode.el
index e307888..9976c64 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -63,6 +63,7 @@
;; User definable variables
+;;;###autoload
(defgroup yaml nil
"Support for the YAML serialization format"
:group 'languages
@@ -79,7 +80,8 @@
:group 'yaml)
(defcustom yaml-backspace-function 'backward-delete-char-untabify
- "*Function called by `yaml-electric-backspace' when deleting backwards."
+ "*Function called by `yaml-electric-backspace' when deleting backwards.
+It will receive one argument, the numeric prefix value."
:type 'function
:group 'yaml)
@@ -113,7 +115,7 @@ that key is pressed to begin a block literal."
;; Constants
-(defconst yaml-mode-version "0.0.7" "Version of `yaml-mode.'")
+(defconst yaml-mode-version "0.0.7" "Version of `yaml-mode'.")
(defconst yaml-blank-line-re "^ *$"
"Regexp matching a line containing only (valid) whitespace.")
@@ -127,7 +129,7 @@ that key is pressed to begin a block literal."
(defconst yaml-document-delimiter-re "^ *\\(?:---\\|[.][.][.]\\)"
"Rexexp matching a YAML document delimiter line.")
-(defconst yaml-node-anchor-alias-re "[&*]\\w+"
+(defconst yaml-node-anchor-alias-re "[&*][a-zA-Z0-9_-]+"
"Regexp matching a YAML node anchor or alias.")
(defconst yaml-tag-re "!!?[^ \n]+"
@@ -160,12 +162,12 @@ that key is pressed to begin a block literal."
(concat yaml-scalar-context-re
"\\(?:" yaml-tag-re "\\)?"
yaml-block-literal-base-re)
- "Regexp matching a line beginning a YAML block literal")
+ "Regexp matching a line beginning a YAML block literal.")
(defconst yaml-nested-sequence-re
(concat "^\\(?: *- +\\)+"
"\\(?:" yaml-bare-scalar-re " *:\\(?: +.*\\)?\\)?$")
- "Regexp matching a line containing one or more nested YAML sequences")
+ "Regexp matching a line containing one or more nested YAML sequences.")
(defconst yaml-constant-scalars-re
(concat "\\(?:^\\|\\(?::\\|-\\|,\\|{\\|\\[\\) +\\) *"
@@ -178,7 +180,7 @@ that key is pressed to begin a block literal."
"true" "True" "TRUE" "false" "False" "FALSE"
"on" "On" "ON" "off" "Off" "OFF") t)
" *$")
- "Regexp matching certain scalar constants in scalar context")
+ "Regexp matching certain scalar constants in scalar context.")
;; Mode setup
@@ -196,7 +198,7 @@ that key is pressed to begin a block literal."
(define-key yaml-mode-map "\C-j" 'newline-and-indent))
(defvar yaml-mode-syntax-table nil
- "Syntax table in use in yaml-mode buffers.")
+ "Syntax table in use in `yaml-mode' buffers.")
(if yaml-mode-syntax-table
nil
(setq yaml-mode-syntax-table (make-syntax-table))
@@ -406,7 +408,7 @@ margin."
yaml-mode-version)
;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
+(add-to-list 'auto-mode-alist '("\\.ya?ml$" . yaml-mode))
(provide 'yaml-mode)
- [nongnu] elpa/yaml-mode 5b4a0db 098/124: Bump version, summarize changes, (continued)
- [nongnu] elpa/yaml-mode 5b4a0db 098/124: Bump version, summarize changes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode ad8685c 104/124: yaml-mode-syntax-propertize-function: Speed up in large strings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 0b33131 115/124: Merge pull request #78 from dgutov/spf-correctness, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 04c30ea 119/124: Fix propertization for lists of dicts with literal block, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 63b637f 124/124: Merge pull request #88 from scop/feature/magic-mode-alist, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 0709258 005/124: Added dist to `Changes', ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 4377ee5 009/124: Apply patch from k-nagano, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode b738999 010/124: changed version, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 522d464 022/124: added changes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 1a779ba 029/124: Merge pull request #8 from holymonson/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 059c255 030/124: Merge branch 'master' of github.com:yoshiki/yaml-mode,
ELPA Syncer <=
- [nongnu] elpa/yaml-mode 9e07024 032/124: Changed version to 0.0.9, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 737c7fc 034/124: Remove default C-j binding, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode fb17c37 036/124: Bumping version to 0.0.10, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 34b6367 041/124: Use font-lock-flush when available, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode a817e46 045/124: Bumping version to 0.0.12, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 93dd95c 051/124: remove regexp details from test-file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode e9937d2 063/124: Backquote FTW, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 3dc2212 065/124: Remove obsolete `font-lock-syntactic-keywords` use, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 8d1f218 071/124: Spelling fix, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 5abb2f4 078/124: update yaml-mode-version, ELPA Syncer, 2021/08/29