2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-26 23:43:22 +00:00

fix!: don't define hilbish.completion, without the s at the end

the interface is hilbish.completions (s at the end)
This commit is contained in:
sammyette 2025-04-23 19:36:50 -04:00
parent 2ca99fe831
commit 0854b5a769
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

1
api.go
View File

@ -101,7 +101,6 @@ func hilbishLoad(rtm *rt.Runtime) (rt.Value, func()) {
// hilbish.completion table
hshcomp := completionLoader(rtm)
// TODO: REMOVE "completion" AND ONLY USE "completions" WITH AN S
mod.Set(rt.StringValue("completion"), rt.TableValue(hshcomp))
mod.Set(rt.StringValue("completions"), rt.TableValue(hshcomp))
// hilbish.runner table