Merge branch 'main' into add-mini-nvim

This commit is contained in:
raf 2025-01-18 21:18:15 +03:00 committed by GitHub
commit 22a1aef09e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 41 additions and 15 deletions

View file

@ -187,17 +187,6 @@ in {
'';
}
];
vim.pluginRC.nix = ''
vim.api.nvim_create_autocmd("FileType", {
pattern = "nix",
callback = function(opts)
local bo = vim.bo[opts.buf]
bo.tabstop = 2
bo.shiftwidth = 2
bo.softtabstop = 2
end
})
'';
}
(mkIf cfg.treesitter.enable {

View file

@ -4,4 +4,5 @@
"catppuccin"
"oxocarbon"
"gruvbox"
"nord"
]

View file

@ -185,4 +185,14 @@ in {
'';
styles = ["main" "moon" "dawn"];
};
nord = {
setup = {transparent ? false, ...}: ''
require("nord").setup({
transparent = ${boolToString transparent},
search = "vscode", -- [vim|vscode]
})
vim.cmd.colorscheme("nord")
'';
};
}