mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 18:07:51 +08:00
21 lines
446 B
Go
21 lines
446 B
Go
package edcore
|
|
|
|
import (
|
|
"github.com/elves/elvish/edit/completion"
|
|
"github.com/elves/elvish/edit/history"
|
|
"github.com/elves/elvish/edit/lastcmd"
|
|
"github.com/elves/elvish/edit/location"
|
|
"github.com/elves/elvish/edit/prompt"
|
|
"github.com/elves/elvish/eval"
|
|
)
|
|
|
|
func init() {
|
|
atEditorInit(func(ed *editor, ns eval.Ns) {
|
|
location.Init(ed, ns)
|
|
lastcmd.Init(ed, ns)
|
|
history.Init(ed, ns)
|
|
completion.Init(ed, ns)
|
|
prompt.Init(ed, ns)
|
|
})
|
|
}
|