feat: add post-configuration functions for enhanced functionality
This commit is contained in:
@@ -174,6 +174,8 @@ vim.g.stats_ignored_players = { ---@type string[] Options: [ignored playe
|
|||||||
vim.o.background = "dark" ---@type string Options: <dark|light>
|
vim.o.background = "dark" ---@type string Options: <dark|light>
|
||||||
-- Disable Transparency
|
-- Disable Transparency
|
||||||
vim.g.disable_transparency = true ---@type boolean Options: <true|false>
|
vim.g.disable_transparency = true ---@type boolean Options: <true|false>
|
||||||
|
-- Auto Dark-mode
|
||||||
|
vim.g.autodarkmode = true ---@type boolean Options: <true|false>
|
||||||
-- Set colorcolumn
|
-- Set colorcolumn
|
||||||
--vim.opt.colorcolumn = "120" ---@type string|table Options: [column]
|
--vim.opt.colorcolumn = "120" ---@type string|table Options: [column]
|
||||||
|
|
||||||
@@ -210,13 +212,7 @@ vim.g.scope_char = "│" ---@type string Options: [scope char]
|
|||||||
-- Cmp Window Border
|
-- Cmp Window Border
|
||||||
vim.g.completion_borders = "rounded" ---@type string Options: [round|sharp|flat]
|
vim.g.completion_borders = "rounded" ---@type string Options: [round|sharp|flat]
|
||||||
|
|
||||||
-- ━━━━━━━━━━━━━━━━━━━━━━━━ Post-Config Functions ━━━━━━━━━━━━━━━━━━━━━━━━
|
|
||||||
|
|
||||||
-- Setup blinky cursor
|
|
||||||
require("utils.blinky").setup(vim.g.blinky)
|
|
||||||
|
|
||||||
-- Setup nvim-remote
|
|
||||||
if vim.fn.executable("nvr") == 1 then
|
|
||||||
vim.env.GIT_EDITOR = "nvr -cc split --remote-wait +'set bufhidden=wipe'"
|
|
||||||
end
|
|
||||||
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
|
||||||
|
-- Execute post-opts functions
|
||||||
|
require("config.postopts")
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
-- ━━━━━━━━━━━━━━━━━━━━━━━━ Post-Config Functions ━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
|
||||||
|
-- Setup blinky cursor
|
||||||
|
require("utils.blinky").setup(vim.g.blinky)
|
||||||
|
|
||||||
|
-- Setup nvim-remote
|
||||||
|
if vim.fn.executable("nvr") == 1 then
|
||||||
|
vim.env.GIT_EDITOR = "nvr -cc split --remote-wait +'set bufhidden=wipe'"
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user