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:
parent
bcb84e54eb
commit
0fb3cfeef9
14 changed files with 426 additions and 138 deletions
9
nvim/snippets/all.lua
Normal file
9
nvim/snippets/all.lua
Normal 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")
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue