Advertisement
Lanzr

hexStartup

Jul 4th, 2024
639
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. local completion = require "cc.shell.completion"
  2. local path_complete = completion.build(
  3.     completion.file
  4. )
  5. local iotaTools_completion = completion.build(
  6.     { completion.choice, { "toStr", "dec", "append" } },
  7.     { completion.choice, { "overWrite" } }
  8. )
  9. shell.setCompletionFunction("hedit.lua", path_complete)
  10. shell.setCompletionFunction("hex.lua", path_complete)
  11. shell.setCompletionFunction("iotaTools.lua", iotaTools_completion)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement