refactor: encapsulate setup logic into a dedicated function

This commit is contained in:
2024-11-24 03:19:35 -05:00
parent 70693e44d6
commit 4f62a6b91c
+6
View File
@@ -1,5 +1,7 @@
-- ━━━━━━━━━━━━━━━━━━━━━━━━ Post-Config Functions ━━━━━━━━━━━━━━━━━━━━━━━━ -- ━━━━━━━━━━━━━━━━━━━━━━━━ Post-Config Functions ━━━━━━━━━━━━━━━━━━━━━━━━
--- Function to setup post-opts
local function setup()
-- Setup blinky cursor -- Setup blinky cursor
require('utils.blinky').setup(vim.g.blinky) require('utils.blinky').setup(vim.g.blinky)
@@ -29,3 +31,7 @@ if not intel_arch[cur_arch] then
vim.g.useimage = false vim.g.useimage = false
vim.g.useavante = false vim.g.useavante = false
end end
end
-- Run Setup function
setup()