diff options
author | jgmdev <jgmdev@gmail.com> | 2022-06-07 11:34:58 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-06-07 11:34:58 -0400 |
commit | 26f595adf71540cd02243ebb41a520b01a752621 (patch) | |
tree | 8d3de71a8fd448d063aec10dc2341d4caede81e2 /plugins/select_colorscheme.lua | |
parent | 980c2643c0acbcdccef62248f31010c94cb08cc8 (diff) | |
download | lite-xl-plugins-26f595adf71540cd02243ebb41a520b01a752621.tar.gz lite-xl-plugins-26f595adf71540cd02243ebb41a520b01a752621.zip |
changed indentation to 2 spaces for consistency across the repo
Diffstat (limited to 'plugins/select_colorscheme.lua')
-rw-r--r-- | plugins/select_colorscheme.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/select_colorscheme.lua b/plugins/select_colorscheme.lua index 4406aa1..0d60251 100644 --- a/plugins/select_colorscheme.lua +++ b/plugins/select_colorscheme.lua @@ -65,10 +65,10 @@ local function make_color_module_name(name) end function Settings:change_color(name) - if self:is_change_color(name) then - core.reload_module(make_color_module_name(name)) - self.color_scheme = name - end + if self:is_change_color(name) then + core.reload_module(make_color_module_name(name)) + self.color_scheme = name + end end function Settings:save_settings() @@ -121,10 +121,10 @@ local color_scheme_suggest = function(text) end command.add(nil, { - ["ui:color scheme"] = function() - core.command_view:enter("Select color scheme", color_scheme_submit, color_scheme_suggest) - end, - }) + ["ui:color scheme"] = function() + core.command_view:enter("Select color scheme", color_scheme_submit, color_scheme_suggest) + end, +}) -- ---------------------------------------------------------------- Settings:init() |