Added in new merge method, and run it on plugins. Also made it so plugin configs can be set anywhere, even if we don't know the plugin beforehand.

This commit is contained in:
Adam Harrison
2022-01-22 18:39:23 -05:00
parent 7e6d9df58d
commit 456126400a
4 changed files with 20 additions and 6 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ local style = require "core.style"
local RootView = require "core.rootview"
local CommandView = require "core.commandview"
config.plugins.scale = {
config.plugins.scale = common.merge({
mode = "code",
use_mousewheel = true
}
}, config.plugins.scale)
local scale_steps = 0.05