idk i made a lot of changes

This commit is contained in:
foxora 2026-03-19 09:43:51 +00:00
parent f17fb26069
commit 55099cdad2
10 changed files with 171 additions and 21 deletions

View file

@ -75,6 +75,16 @@ local function load_colors()
local bg_90 = blend_colors(hex_to_int("#000000"), hex_to_int(bg), 0.90)
local fg_10 = blend_colors(hex_to_int(bg), hex_to_int(fg), 0.10)
local fg_30 = blend_colors(hex_to_int(bg), hex_to_int(fg), 0.30)
local secondary_10 = blend_colors(hex_to_int(bg), hex_to_int(color_13), 0.10)
local secondary_30 = blend_colors(hex_to_int(bg), hex_to_int(color_13), 0.30)
-- editor colors :3 --------------------------------------------------------
vim.api.nvim_set_hl(0, "Visual", { bg = secondary_10 })
-- blink.cmp ---------------------------------------------------------------
vim.api.nvim_set_hl(0, "BlinkCmpMenu", { bg = bg })
@ -191,6 +201,15 @@ local function load_colors()
vim.api.nvim_set_hl(0, "FylerGitUntracked", { fg = color_06 })
vim.api.nvim_set_hl(0, "FylerWinPick", { fg = color_15, bg = fg })
-- lualine.nvim
vim.api.nvim_exec_autocmds("User", { pattern = "RefreshLualine" })
-- indent-blankline.nvim
vim.api.nvim_set_hl(0, "IblIndent", { fg = secondary_30 })
vim.api.nvim_set_hl(0, "IblScope", { fg = color_11 })
vim.api.nvim_exec_autocmds("User", { pattern = "RefreshIndentBlankline" })
vim.api.nvim_set_hl(0, "@ibl.scope.underline.1", { underline = false })
else
print("Error: Not enough colors in file")
end
@ -218,3 +237,9 @@ local function watch_colorscheme()
end
watch_colorscheme()
vim.api.nvim_create_autocmd("VimLeave", {
callback = function()
io.write("\027]112\007")
end,
})

View file

@ -1,5 +1,6 @@
return {
{
"dressing.nvim",
enabled = nixCats("ui.dressing") or false,
},
}

View file

@ -0,0 +1,30 @@
local config = {
debounce = 25,
indent = {
char = "",
smart_indent_cap = true,
},
scope = {
show_start = true,
show_end = true,
show_exact_scope = false,
injected_languages = true,
},
}
return {
{
"indent-blankline.nvim",
enabled = nixCats("ui.indent-blankline") or false,
after = function(plugin)
require("ibl").setup(config)
vim.api.nvim_create_autocmd("User", {
pattern = "RefreshIndentBlankline",
callback = function()
require("ibl").setup(config)
end,
})
end,
},
}

View file

@ -7,4 +7,6 @@ require("lze").load({
{ import = "plugins.format" },
{ import = "plugins.comment" },
{ import = "plugins.git" },
{ import = "plugins.lualine" },
{ import = "plugins.indent-blankline" },
})

View file

@ -0,0 +1,22 @@
local config = {
options = {
theme = "auto",
},
}
return {
{
"lualine.nvim",
enabled = nixCats("ui.lualine") or false,
after = function(plugin)
require("lualine").setup(config)
vim.api.nvim_create_autocmd("User", {
pattern = "RefreshLualine",
callback = function()
require("lualine").setup(config)
end,
})
end,
},
}

View file

@ -60,6 +60,14 @@ return {
mode = { "n" },
desc = "[T]elescope [H]ighlights",
},
{
"<leader>gs",
function()
return require("telescope.builtin").git_status()
end,
mode = { "n" },
desc = "[G]it [S]tatus",
},
},
load = function(name)
vim.cmd.packadd(name)