mirror of
https://github.com/pnx/dotfiles
synced 2026-06-17 03:30:01 +02:00
nvim: fix snippets
This commit is contained in:
parent
162f1094f2
commit
f7f27ceb89
2 changed files with 14 additions and 16 deletions
|
|
@ -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) })
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue