put common luasnip functions in a seperate file and modify some
java snippets
This commit is contained in:
parent
4d2163e9e6
commit
f29241021d
2 changed files with 16 additions and 6 deletions
3
lua/core/snippets/functions.lua
Normal file
3
lua/core/snippets/functions.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
function file_name(args, parent, user_args)
|
||||
return vim.fn.expand("%:t:r")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue