mirror of
https://github.com/zyedidia/micro
synced 2024-09-30 13:14:00 +00:00
Add HandleCommand and HandleShellCommand to plugin api
This commit is contained in:
parent
1b9ae5706e
commit
28897c01ea
|
@ -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