fixed loading order
plugins were not able to provide colorschemes
This commit is contained in:
parent
1720d4023f
commit
8172ebf62b
1 changed files with 5 additions and 5 deletions
|
@ -242,9 +242,6 @@ func main() {
|
|||
InitCommands()
|
||||
InitBindings()
|
||||
|
||||
// Load the syntax files, including the colorscheme
|
||||
LoadSyntaxFiles()
|
||||
|
||||
// Start the screen
|
||||
InitScreen()
|
||||
|
||||
|
@ -321,11 +318,14 @@ func main() {
|
|||
L.SetGlobal("ListRuntimeFiles", luar.New(L, PluginListRuntimeFiles))
|
||||
L.SetGlobal("AddRuntimeFile", luar.New(L, PluginAddRuntimeFile))
|
||||
|
||||
LoadPlugins()
|
||||
|
||||
jobs = make(chan JobFunction, 100)
|
||||
events = make(chan tcell.Event, 100)
|
||||
|
||||
LoadPlugins()
|
||||
|
||||
// Load the syntax files, including the colorscheme
|
||||
LoadSyntaxFiles()
|
||||
|
||||
for _, t := range tabs {
|
||||
for _, v := range t.views {
|
||||
for _, pl := range loadedPlugins {
|
||||
|
|
Loading…
Reference in a new issue