This commit is contained in:
2026-03-12 21:29:16 +00:00
parent c620d32c51
commit dbfcacb6e7
3 changed files with 30 additions and 10 deletions

View File

@@ -5,6 +5,21 @@
}; };
autoCmd = [ autoCmd = [
{
event = ["VimEnter" "ColorScheme"];
group = "Christoph";
pattern = "*";
callback.__raw = ''
function()
local base = require("rose-pine.palette").base
local foam = require("rose-pine.palette").foam
vim.api.nvim_set_hl(0, "NormalFloat", { bg = base })
vim.api.nvim_set_hl(0, "FloatTitle", { fg = foam, bg = base, bold = true })
vim.api.nvim_set_hl(0, "MiniPickPrompt", { bg = base, bold = true })
vim.api.nvim_set_hl(0, "MiniPickBorderText", { bg = base })
end
'';
}
{ {
event = "BufWritePre"; event = "BufWritePre";
group = "Christoph"; group = "Christoph";
@@ -29,16 +44,6 @@
pattern = "elixir,eelixir,heex"; pattern = "elixir,eelixir,heex";
command = "setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2"; command = "setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2";
} }
{
event = "FileType";
group = "Christoph";
pattern = "opencode,opencode_output";
callback.__raw = ''
function()
vim.b.ministatusline_disable = true
end
'';
}
]; ];
}; };
} }

View File

@@ -31,8 +31,10 @@
enable = true; enable = true;
settings = { settings = {
variant = "dawn"; variant = "dawn";
extend_background_behind_borders = false;
}; };
}; };
}; };
home.shellAliases = { home.shellAliases = {

View File

@@ -14,6 +14,19 @@
}; };
in { in {
programs.nixvim = { programs.nixvim = {
autoCmd = [
{
event = "FileType";
group = "Christoph";
pattern = "opencode,opencode_output";
callback.__raw = ''
function()
vim.b.ministatusline_disable = true
end
'';
}
];
extraPlugins = [ extraPlugins = [
opencode-nvim opencode-nvim
]; ];