This commit is contained in:
zbirenbaum 2022-04-14 13:57:11 -04:00
parent bc05e4be08
commit 1c8a677024

View File

@ -18,11 +18,15 @@ M.autopairs = function(override_flag)
end
end
M.better_escape = function()
require("better_escape").setup {
mapping = chadrc_config.mappings.plugins.better_escape.esc_insertmode,
timeout = chadrc_config.plugins.options.esc_insertmode_timeout,
M.better_escape = function(override_flag)
local default = {
mapping = chadrc_config.mappings.plugins.better_escape.esc_insertmode,
timeout = chadrc_config.plugins.options.esc_insertmode_timeout,
}
if override_flag then
default = require("core.utils").tbl_override_req("better_escape", default)
end
require("better_escape").setup(default)
end
M.blankline = function(override_flag)