This commit is contained in:
2026-09-07 02:36:43 -04:00
committed by thread
parent 90ee29c838
commit 6ebc5dc0ff
2 changed files with 15 additions and 0 deletions
+2
View File
@@ -10,3 +10,5 @@ local opt = vim.opt
opt.laststatus = 3
opt.swapfile = false
vim.g.lua_snippets_path = { vim.fn.stdpath "config" .. "/snippets" }
+13
View File
@@ -0,0 +1,13 @@
-- https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md
local ls = require "luasnip"
local s = ls.snippet
local t = ls.text_node
local i = ls.insert_node
return {
s("iip", {
t '|> IO.inspect(label: "',
i(1, "label"),
t '")',
}),
}