Skip to content

Commit 3ce0c49

Browse files
committed
doom-snippet-* -> doom-snippets-*
1 parent 162713d commit 3ce0c49

File tree

25 files changed

+33
-33
lines changed

25 files changed

+33
-33
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ to_string()
109109
If this variable is non-nil, this package will define the following shortcut
110110
function aliases for your convenience:
111111

112-
+ `!%!` = `(doom-snippet-format "%n%s%n")`
113-
+ `!%` = `(doom-snippet-format "%n%s")`
114-
+ `%$` = `(doom-snippet-format "%>")`
115-
+ `(%expand ...)` = `(doom-snippet-expand ...)`
116-
+ `(%format ...)` = `(doom-snippet-format ...)`
112+
+ `!%!` = `(doom-snippets-format "%n%s%n")`
113+
+ `!%` = `(doom-snippets-format "%n%s")`
114+
+ `%$` = `(doom-snippets-format "%>")`
115+
+ `(%expand ...)` = `(doom-snippets-expand ...)`
116+
+ `(%format ...)` = `(doom-snippets-format ...)`
117117
+ `(%without-trigger ...)` = `(doom-snippets-without-trigger ...)`
118118

119119

doom-snippets.el

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
(defvar doom-snippets-enable-short-helpers nil
3333
"If non-nil, defines convenience aliases for doom-snippets' api.
3434
35-
+ `!%!' = (doom-snippet-format \"%n%s%n\")
36-
+ `!%' = (doom-snippet-format \"%n%s\")
37-
+ `%$' = (doom-snippet-format \"%e\")
38-
+ `%expand' = `doom-snippet-expand'
39-
+ `%format' = `doom-snippet-format'
35+
+ `!%!' = (doom-snippets-format \"%n%s%n\")
36+
+ `!%' = (doom-snippets-format \"%n%s\")
37+
+ `%$' = (doom-snippets-format \"%e\")
38+
+ `%expand' = `doom-snippets-expand'
39+
+ `%format' = `doom-snippets-format'
4040
+ `%without-trigger' = `doom-snippets-without-trigger'")
4141

4242
;;;###autoload

snippets/+emacs-lisp-ert-mode/deft

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: deft
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "ert-deftest")
6+
(doom-snippets-expand :uuid "ert-deftest")

snippets/buttercup-minor-mode/desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: desc
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "describe")
6+
(doom-snippets-expand :uuid "describe")

snippets/buttercup-minor-mode/ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: ex
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "expect")
6+
(doom-snippets-expand :uuid "expect")

snippets/emacs-lisp-mode/ah

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# uuid: ah
55
# type: command
66
# --
7-
(doom-snippet-expand :uuid "add-hook")
7+
(doom-snippets-expand :uuid "add-hook")

snippets/emacs-lisp-mode/cdef

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: cdef
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "cl-defun")
6+
(doom-snippets-expand :uuid "cl-defun")

snippets/emacs-lisp-mode/cdefm

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: cdefm
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "cl-defmacro")
6+
(doom-snippets-expand :uuid "cl-defmacro")

snippets/emacs-lisp-mode/def

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: def
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "defun")
6+
(doom-snippets-expand :uuid "defun")

snippets/emacs-lisp-mode/defm

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: defm
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "defmacro")
6+
(doom-snippets-expand :uuid "defmacro")

snippets/emacs-lisp-mode/doom-add-hook-short

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# uuid: AH
55
# type: command
66
# --
7-
(doom-snippet-expand :uuid "add-hook!")
7+
(doom-snippets-expand :uuid "add-hook!")

snippets/emacs-lisp-mode/opt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: opt
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "optional")
6+
(doom-snippets-expand :uuid "optional")

snippets/emacs-lisp-mode/req

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: req
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "require")
6+
(doom-snippets-expand :uuid "require")

snippets/js-mode/cl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: cl
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "class")
6+
(doom-snippets-expand :uuid "class")

snippets/js-mode/fu

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# key: fu
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid (if (doom-snippets-bolp) "function_block" "function_inline"))
6+
(doom-snippets-expand :uuid (if (doom-snippets-bolp) "function_block" "function_inline"))

snippets/js-mode/imp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: imp
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "import")
6+
(doom-snippets-expand :uuid "import")

snippets/js-mode/req

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# uuid: req
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "require")
6+
(doom-snippets-expand :uuid "require")

snippets/lisp-mode/dol

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# type: command
44
# uuid: dol
55
# --
6-
(doom-snippet-expand :uuid "dolist")
6+
(doom-snippets-expand :uuid "dolist")

snippets/lisp-mode/dot

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# type: command
44
# uuid: dot
55
# --
6-
(doom-snippet-expand :uuid "dotimes")
6+
(doom-snippets-expand :uuid "dotimes")

snippets/org-mode/begin_export

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# key: <E
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "export")
6+
(doom-snippets-expand :uuid "export")

snippets/org-mode/begin_src

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# key: <s
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "src")
6+
(doom-snippets-expand :uuid "src")

snippets/org-mode/begin_verse

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# key: <v
44
# type: command
55
# --
6-
(doom-snippet-expand :uuid "verse")
6+
(doom-snippets-expand :uuid "verse")

snippets/rust-mode/match_alias

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# key: ma
55
# type: command
66
# --
7-
(doom-snippet-expand :uuid "match")
7+
(doom-snippets-expand :uuid "match")

snippets/rust-mode/struct_alias

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# type: command
66
# condition: (doom-snippets-bolp)
77
# --
8-
(doom-snippet-expand :uuid "struct")
8+
(doom-snippets-expand :uuid "struct")

snippets/rust-mode/trait_alias

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# key: tr
55
# type: command
66
# --
7-
(doom-snippet-expand :uuid "trait")
7+
(doom-snippets-expand :uuid "trait")

0 commit comments

Comments
 (0)