1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-17 03:30:01 +02:00

nvim: fix snippets

This commit is contained in:
Henrik Hautakoski 2025-12-06 10:37:51 +01:00
parent 162f1094f2
commit f7f27ceb89
2 changed files with 14 additions and 16 deletions

View file

@ -1,9 +1,4 @@
local ls = require('luasnip')
local s = ls.snippet
local f = ls.function_node
ls.add_snippets("all", {
return {
s("daterfc5322", { f(function() return os.date("%a, %d %b %Y %H:%M:%S %z") end) })
})
}