feat: nvim-indentation

This commit is contained in:
WinterEkisha committed 2026-11-05 13:29:32 -08:00
1 parent 2c4760f8bc
commit fca924f0e9
1 file changed
+21
+21
View File
@@ -31,14 +31,34 @@
number = true;
relativenumber = true;
};
# --- Sets tab spacing for file types ---
autoCmd = [
{
event = [ "FileType" ];
pattern = [ "html" "css" "nix" ];
callback = {
__raw = ''
function()
vim.opt_local.expandtab = true
vim.opt_local.shiftwidth = 2
vim.opt_local.softtabstop = 2
end
'';
};
}
];
plugins.cmp = {
enable = true;
autoEnableSources = true;
settings.sources = [
{ name = "nvim_lsp"; }
{ name = "path"; }
{ name = "buffer"; }
];
};
plugins.lsp = {
enable = true;
servers = {
@@ -54,6 +74,7 @@
pyright.enable = true;
};
};
plugins.rustaceanvim.enable = true;
};
}