irongit
Explore
Docs
Sign in
Register
huncholane
/
scratch.nvim
Public
Scratchpad utilities
Code
Commits
Branches
Tags
main
scratch.nvim
/
lua
/
scratch
/
commands.lua
4 lines
156 B
Lua
Raw
Download
History
1
local
scratch
=
require
(
"
scratch.scratch
"
)
2
vim.api.nvim_create_user_command(
"
Scratch
"
,
function
(args)
3
scratch.scratch(args.fargs[
1
])
4
end
, { nargs
=
"
?
"
})