Browse Source

Format lua files

my-config
github-actions[bot] 3 years ago
parent
commit
e74238f3e0
  1. 2
      doom_config.lua
  2. 6
      lua/doom/core/functions/init.lua

2
doom_config.lua

@ -356,7 +356,7 @@ local nvim = {
-- @default = {} -- @default = {}
-- example: -- example:
-- { -- {
-- { ['shiftwidth'] = 4 } -- { ['shiftwidth'] = 4 }
-- } -- }
options = {}, options = {},
} }

6
lua/doom/core/functions/init.lua

@ -74,9 +74,9 @@ M.load_custom_settings = function(settings_tbl, scope)
vim.g[var] = val vim.g[var] = val
end end
elseif scope == 'options' then elseif scope == 'options' then
for var, val in pairs(settings_tbl) do for var, val in pairs(settings_tbl) do
vim.opt[var] = val vim.opt[var] = val
end end
end end
end end
end end

Loading…
Cancel
Save