Move user module loading before plugins

Otherwise the configuration to disable a plugin does not take effect.
This commit is contained in:
Francesco Abbate 2021-02-19 10:08:03 +01:00
parent 114f6b2481
commit 6353fde609
1 changed files with 1 additions and 1 deletions

View File

@ -425,8 +425,8 @@ function core.init()
core.project_scan_thread_id = core.add_thread(project_scan_thread)
command.add_defaults()
local got_plugin_error = not core.load_plugins()
local got_user_error = not core.load_user_directory()
local got_plugin_error = not core.load_plugins()
do
local pdir, pname = project_dir_abs:match("(.*)[/\\\\](.*)")