Compare commits
2 commits
c33c27c768
...
fe20f87e18
| Author | SHA1 | Date | |
|---|---|---|---|
| fe20f87e18 | |||
| d970901159 |
9 changed files with 10 additions and 12 deletions
|
|
@ -1,8 +1,6 @@
|
|||
local ls = require("luasnip")
|
||||
-- some shorthands...
|
||||
local snip = ls.snippet
|
||||
local node = ls.snippet_node
|
||||
local text = ls.text_node
|
||||
local insert = ls.insert_node
|
||||
local func = ls.function_node
|
||||
local fmt = require("luasnip.extras.fmt").fmt
|
||||
|
|
@ -51,7 +49,7 @@ ls.add_snippets(nil, {
|
|||
namr = "zola_gallery",
|
||||
dscr = "Zola gallery shortcode",
|
||||
},
|
||||
fmt("{{ gallery() }}\n\n<inner>\n{{ end() }}", {
|
||||
fmta("{{ gallery() }}\n\n<inner>\n{{ end() }}", {
|
||||
inner = insert(1),
|
||||
})
|
||||
),
|
||||
|
|
@ -66,7 +64,7 @@ ls.add_snippets(nil, {
|
|||
namr = "zola_keyboard",
|
||||
dscr = "Zola keyboard shortcode",
|
||||
},
|
||||
fmt("{{ kbd(key=\"<key>\") }}", {
|
||||
fmta("{{ kbd(key=\"<key>\") }}", {
|
||||
key = insert(1),
|
||||
})
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 9099871a7c7e1c16122e00d70208a2cd02078d80
|
||||
Subproject commit 0d9e870d01894c592d7ea93cfe0fa451916d9a7f
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 07f5d974203a5d957e7b464020261a657f59556d
|
||||
Subproject commit 2463d687fe704b76eb0aa3bb34e95f69a5bb0362
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit f76741886b356586f9dfe8e312fbd1ab0fd1084f
|
||||
Subproject commit e8a58f36c256af65cda36878f6f2024a612154c3
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 32f98300881f38f4e022391f240188fec42f74db
|
||||
Subproject commit 3ffa176628fe49e74f47992757016b7371a9b86b
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 89307570b3bffe115d8b6b6fd3a4066cde0ba2d7
|
||||
Subproject commit 5e0210990b3c809ec58bbf830e0dabd4bda3a949
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 27f68c0b6a87cbad900b3d016425450af8268026
|
||||
Subproject commit e49f1e8ef3e8450a8446cb1f2bbb53c919f60b6d
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 43aa2ddf476012a2155f5f969ee55ab17174da7a
|
||||
Subproject commit 808627b8d412b2a6b6fc6eed816fec3557198b01
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit aacaa9cd031da83ce08d8fa5f19083d731f7f62c
|
||||
Subproject commit 3466159b0fcc1876483f6f53587562628664d850
|
||||
Loading…
Add table
Reference in a new issue