nvim snippets

This commit is contained in:
2025-07-02 17:58:34 -04:00
parent 0cbf0ede6d
commit effcd61949
4 changed files with 22 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
return {
"L3MON4D3/LuaSnip",
opts = {
history = true,
delete_check_events = "TextChanged",
require("snippets"),
},
}
+9
View File
@@ -0,0 +1,9 @@
local ls = require("luasnip")
local s = ls.snippet
local t = ls.text_node
ls.add_snippets("all", {
s("isodt", {
t(os.date("%Y-%m-%dT%H:%M:%S%z")),
}),
})