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 = {}
-- example:
-- {
-- { ['shiftwidth'] = 4 }
-- { ['shiftwidth'] = 4 }
-- }
options = {},
}

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

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

Loading…
Cancel
Save