diff options
author | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:42:05 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:42:05 -0600 |
commit | f29241021de870bab5e2c25cc1f62b2b33a772fb (patch) | |
tree | 64e1d44eb87b45b388a72ad9afd9658a317f5cf5 /lua/core/snippets/functions.lua | |
parent | 4d2163e9e624a29f41883ab4837aa19981e4b951 (diff) | |
download | nvim-f29241021de870bab5e2c25cc1f62b2b33a772fb.tar.gz nvim-f29241021de870bab5e2c25cc1f62b2b33a772fb.tar.bz2 nvim-f29241021de870bab5e2c25cc1f62b2b33a772fb.zip |
put common luasnip functions in a seperate file and modify some
java snippets
Diffstat (limited to 'lua/core/snippets/functions.lua')
-rw-r--r-- | lua/core/snippets/functions.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/core/snippets/functions.lua b/lua/core/snippets/functions.lua new file mode 100644 index 0000000..56b24b6 --- /dev/null +++ b/lua/core/snippets/functions.lua @@ -0,0 +1,3 @@ +function file_name(args, parent, user_args) + return vim.fn.expand("%:t:r") +end |