Fix #938
This commit is contained in:
parent
bc05e4be08
commit
1c8a677024
1 changed files with 8 additions and 4 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue