feat(nvim): updated config to use vim.pack instead of lazy
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
local ls = require("luasnip")
|
||||
local s = ls.snippet
|
||||
local t = ls.text_node
|
||||
local i = ls.insert_node
|
||||
-- local f = ls.function_node
|
||||
return {
|
||||
s({ trig = "fn", name = "Function", dscr = "Function" }, {
|
||||
t("fn "),
|
||||
i(1),
|
||||
t("() "),
|
||||
t("{\n"),
|
||||
t("\t"),
|
||||
i(0),
|
||||
t("\n}\n"),
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user