use the new snippet functions in norg snippets

This commit is contained in:
2024-11-19 13:42:53 -06:00
parent f29241021d
commit 56788e6b36

View File

@ -1,8 +1,5 @@
require('core.snippets.shorthands')
local function file_name(args, parent, user_args)
return vim.fn.expand("%:t:r")
end
require('core.snippets.functions')
return {
-- header level 1, usually this has the same name as the file