diff options
author | rxi <rxi@users.noreply.github.com> | 2020-04-18 14:30:31 +0100 |
---|---|---|
committer | rxi <rxi@users.noreply.github.com> | 2020-04-18 14:30:31 +0100 |
commit | 324f59283f2d42f764f98194f7895b09b6746488 (patch) | |
tree | 1698daec57bc7e5975c21ff27061b51f246d4e3e | |
parent | 2f786e7ff5e13d2a04ff7979ad7bd888675dc9f0 (diff) | |
download | lite-xl-plugins-324f59283f2d42f764f98194f7895b09b6746488.tar.gz lite-xl-plugins-324f59283f2d42f764f98194f7895b09b6746488.zip |
Removed redundant config check in autowrap plugin
-rw-r--r-- | autowrap.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/autowrap.lua b/autowrap.lua index 686f110..85d4c24 100644 --- a/autowrap.lua +++ b/autowrap.lua @@ -3,9 +3,7 @@ local config = require "core.config" local command = require "core.command" local DocView = require "core.docview" -if not config.autowrap_files then - config.autowrap_files = { "%.md$", "%.txt$" } -end +config.autowrap_files = { "%.md$", "%.txt$" } local on_text_input = DocView.on_text_input |