Create and push an initial working version of this repo before I change things on this machine Signed-off-by: Robert Morrison <robert@closedless.xyz>
19 lines
456 B
Lua
19 lines
456 B
Lua
-- Snippets to make editing my config a bit easier
|
|
|
|
local ls = require('luasnip')
|
|
local s = ls.snippet
|
|
local sn = ls.snippet_node
|
|
local t = ls.text_node
|
|
local i = ls.insert_node
|
|
local f = ls.function_node
|
|
local c = ls.choice_node
|
|
local d = ls.dynamic_node
|
|
|
|
return {
|
|
-- This snippet is useful for adding in keybinds for lazy specs
|
|
s(
|
|
{ trig = 'lkt', dscr = 'Lazy key table' },
|
|
{ t("{ '"), i(1), t("',"), i(2), t(", desc = '"), i(3), t("' },") }
|
|
),
|
|
}
|