1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

moar nvim: snippets and other things

This commit is contained in:
Henrik Hautakoski 2024-05-18 14:56:00 +02:00
parent bcb84e54eb
commit 0fb3cfeef9
14 changed files with 426 additions and 138 deletions

9
nvim/snippets/all.lua Normal file
View file

@ -0,0 +1,9 @@
return {
s("ternary", {
-- equivalent to "${1:cond} ? ${2:then} : ${3:else}"
i(1, "cond"), t(" ? "), i(2, "then"), t(" : "), i(3, "else")
})
}