This commit is contained in:
zbirenbaum 2022-04-14 13:57:11 -04:00
parent bc05e4be08
commit 1c8a677024
1 changed files with 8 additions and 4 deletions

View File

@ -18,11 +18,15 @@ M.autopairs = function(override_flag)
end end
end end
M.better_escape = function() M.better_escape = function(override_flag)
require("better_escape").setup { local default = {
mapping = chadrc_config.mappings.plugins.better_escape.esc_insertmode, mapping = chadrc_config.mappings.plugins.better_escape.esc_insertmode,
timeout = chadrc_config.plugins.options.esc_insertmode_timeout, 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 end
M.blankline = function(override_flag) M.blankline = function(override_flag)