diff options
author | Squibid <me@zacharyscheiman.com> | 2025-01-24 13:56:11 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-01-24 13:56:11 -0600 |
commit | 8eaa615596be321a3be12378c5e7d65cc7e482b6 (patch) | |
tree | 53fe601048ea302962420de4feff465e4c7d9317 /lua/core/snippets | |
parent | a0ebc39b59a98a69fbb6abf150f86dc4e19987a3 (diff) | |
download | nvim-8eaa615596be321a3be12378c5e7d65cc7e482b6.tar.gz nvim-8eaa615596be321a3be12378c5e7d65cc7e482b6.tar.bz2 nvim-8eaa615596be321a3be12378c5e7d65cc7e482b6.zip |
Diffstat (limited to 'lua/core/snippets')
-rw-r--r-- | lua/core/snippets/functions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/core/snippets/functions.lua b/lua/core/snippets/functions.lua index 56b24b6..24fc8a6 100644 --- a/lua/core/snippets/functions.lua +++ b/lua/core/snippets/functions.lua @@ -1,3 +1,3 @@ -function file_name(args, parent, user_args) +function file_name(_, _, _) return vim.fn.expand("%:t:r") end |