mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-11 01:51:00 +00:00
Add HandleCommand and HandleShellCommand to plugin api
This commit is contained in:
parent
1b9ae5706e
commit
28897c01ea
1 changed files with 2 additions and 0 deletions
|
|
@ -266,6 +266,8 @@ func main() {
|
|||
L.SetGlobal("MakeCommand", luar.New(L, MakeCommand))
|
||||
L.SetGlobal("CurView", luar.New(L, CurView))
|
||||
L.SetGlobal("IsWordChar", luar.New(L, IsWordChar))
|
||||
L.SetGlobal("HandleCommand", luar.New(L, HandleCommand))
|
||||
L.SetGlobal("HandleShellCommand", luar.New(L, HandleShellCommand))
|
||||
|
||||
// Used for asynchronous jobs
|
||||
L.SetGlobal("JobStart", luar.New(L, JobStart))
|
||||
|
|
|
|||
Loading…
Reference in a new issue