diff options
author | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:42:53 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:42:53 -0600 |
commit | 56788e6b3660cc48f95893b89e91571ae6bcbe6e (patch) | |
tree | a074024f58a743a7a36a1987fde106d68366614d /lua | |
parent | f29241021de870bab5e2c25cc1f62b2b33a772fb (diff) | |
download | nvim-56788e6b3660cc48f95893b89e91571ae6bcbe6e.tar.gz nvim-56788e6b3660cc48f95893b89e91571ae6bcbe6e.tar.bz2 nvim-56788e6b3660cc48f95893b89e91571ae6bcbe6e.zip |
use the new snippet functions in norg snippets
Diffstat (limited to '')
-rw-r--r-- | lua/snippets/norg.lua | 5 |
1 files changed, 1 insertions, 4 deletions
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 |