mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
Merge branch 'main' into add-mini-nvim
This commit is contained in:
commit
22a1aef09e
7 changed files with 41 additions and 15 deletions
|
@ -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 {
|
||||
|
|
|
@ -4,4 +4,5 @@
|
|||
"catppuccin"
|
||||
"oxocarbon"
|
||||
"gruvbox"
|
||||
"nord"
|
||||
]
|
||||
|
|
|
@ -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")
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue