pkg update and first config fix
org-brain not working, add org-roam
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
# name: v.begin(), v.end()
|
||||
# key: beginend
|
||||
# --
|
||||
${1:v}.begin(), $1.end
|
||||
${1:v}.begin(), $1.end()
|
||||
|
||||
9
lisp/yasnippet-snippets/snippets/js-mode/console/cta
Normal file
9
lisp/yasnippet-snippets/snippets/js-mode/console/cta
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# uuid: 9c2aa6ee-9729-46d9-afdb-b6dc21f9f2e7
|
||||
# contributor: Laam Pui <lpwowo@gmail.com>
|
||||
# name: console.table
|
||||
# key: cta
|
||||
# group: console
|
||||
# --
|
||||
|
||||
console.table(${1:object})
|
||||
11
lisp/yasnippet-snippets/snippets/php-mode/enum
Normal file
11
lisp/yasnippet-snippets/snippets/php-mode/enum
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor: takeo obara<bararararatty@gmail.com>
|
||||
# name: enum
|
||||
# key: enum
|
||||
# group : definitions
|
||||
# --
|
||||
enum ${1:Name}${2:: type} {
|
||||
case: ${3:One};
|
||||
case: ${4:Two};
|
||||
$0
|
||||
}
|
||||
10
lisp/yasnippet-snippets/snippets/php-mode/match
Normal file
10
lisp/yasnippet-snippets/snippets/php-mode/match
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor: takeo obara<bararararatty@gmail.com>
|
||||
# name: match
|
||||
# key: match
|
||||
# group : control structure
|
||||
# --
|
||||
match (${1:$var}) {
|
||||
${2:$cond} => ${3:$return},
|
||||
$0
|
||||
};
|
||||
@@ -5,7 +5,8 @@
|
||||
# group: definitions
|
||||
# --
|
||||
def ${1:name}($2):
|
||||
\"\"\"$3
|
||||
${2:$(python-args-to-docstring-numpy)}
|
||||
\"\"\"
|
||||
$0
|
||||
\"\"\"$3
|
||||
|
||||
${2:$(python-args-to-docstring-numpy)}
|
||||
\"\"\"
|
||||
$0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(define-package "yasnippet-snippets" "20210910.1959" "Collection of yasnippet snippets"
|
||||
(define-package "yasnippet-snippets" "20220713.1234" "Collection of yasnippet snippets"
|
||||
'((yasnippet "0.8.0"))
|
||||
:commit "f50b4c16ca2a73fd04ebd301f0bf2f5ab6107d88" :authors
|
||||
:commit "cd665c9cba4bab646f6d50ac098bee63573a4ca5" :authors
|
||||
'(("Andrea Crotti" . "andrea.crotti.0@gmail.com"))
|
||||
:maintainer
|
||||
'("Andrea Crotti" . "andrea.crotti.0@gmail.com")
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
;; value, so that yasnippet will automatically find the directory
|
||||
;; after this package is updated (i.e., moves directory).
|
||||
(add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
|
||||
(yas-load-directory yasnippet-snippets-dir t))
|
||||
(yas--load-snippet-dirs))
|
||||
|
||||
(defgroup yasnippet-snippets nil
|
||||
"Options for yasnippet setups.
|
||||
|
||||
Reference in New Issue
Block a user