use the new snippet functions in norg snippets
This commit is contained in:
parent
f29241021d
commit
56788e6b36
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue