plugins: added settings gui support

This commit is contained in:
jgmdev
2022-05-23 17:50:10 -04:00
parent b9bb64a2f0
commit 8bbca7c0b0
5 changed files with 207 additions and 34 deletions
+11 -1
View File
@@ -8,7 +8,17 @@ local common = require "core.common"
local dirwatch = require "core.dirwatch"
config.plugins.autoreload = common.merge({
always_show_nagview = false
always_show_nagview = false,
config_spec = {
name = "Autoreload",
{
label = "Always Show Nagview",
description = "Alerts you if an opened file changes externally even if you haven't modified it.",
path = "always_show_nagview",
type = "toggle",
default = false
}
}
}, config.plugins.autoreload)
local watch = dirwatch.new()