feat: add post-configuration functions for enhanced functionality
This commit is contained in:
+6
-10
@@ -139,7 +139,7 @@ vim.g.dashboard = "alpha" ---@type string Options: [dashboard]
|
||||
-- Dashboard logo file
|
||||
vim.g.dash_logo = "neovim.txt" ---@type string Options: [dash logo]
|
||||
-- Dashboard header color
|
||||
vim.g.DashboardHeaderColor = "#88fc9a"---@type string Options: [hex color]
|
||||
vim.g.DashboardHeaderColor = "#88fc9a" ---@type string Options: [hex color]
|
||||
|
||||
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ STATUS LINE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
@@ -174,6 +174,8 @@ vim.g.stats_ignored_players = { ---@type string[] Options: [ignored playe
|
||||
vim.o.background = "dark" ---@type string Options: <dark|light>
|
||||
-- Disable Transparency
|
||||
vim.g.disable_transparency = true ---@type boolean Options: <true|false>
|
||||
-- Auto Dark-mode
|
||||
vim.g.autodarkmode = true ---@type boolean Options: <true|false>
|
||||
-- Set colorcolumn
|
||||
--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
|
||||
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