From 56788e6b3660cc48f95893b89e91571ae6bcbe6e Mon Sep 17 00:00:00 2001 From: Squibid Date: Tue, 19 Nov 2024 13:42:53 -0600 Subject: use the new snippet functions in norg snippets --- lua/snippets/norg.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lua/snippets') diff --git a/lua/snippets/norg.lua b/lua/snippets/norg.lua index d96a471..588ec4f 100644 --- a/lua/snippets/norg.lua +++ b/lua/snippets/norg.lua @@ -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 -- cgit v1.2.1