diff options
Diffstat (limited to 'plugins/indent_convert.lua')
-rw-r--r-- | plugins/indent_convert.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/indent_convert.lua b/plugins/indent_convert.lua index 3c22867..2442b39 100644 --- a/plugins/indent_convert.lua +++ b/plugins/indent_convert.lua @@ -1,11 +1,12 @@ -- mod-version:3 --lite-xl 2.1 local core = require "core" +local common = require "core.common" local config = require "core.config" local command = require "core.command" -config.plugins.indent_convert = { +config.plugins.indent_convert = common.merge({ update_indent_type = true -- set to false to avoid updating the document indent type -} +}, config.plugins.indent_convert) local zero_pattern = _VERSION == "Lua 5.1" and "%z" or "\0" |