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
+32 -11
+32 -11
View File
@@ -31,29 +31,50 @@
number = true; number = true;
relativenumber = 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 = { plugins.cmp = {
enable = true; enable = true;
autoEnableSources = true;
settings.sources = [ settings.sources = [
{ name = "nvim_lsp"; } { name = "nvim_lsp"; }
{ name = "path"; } { name = "path"; }
{ name = "buffer"; } { name = "buffer"; }
]; ];
}; };
plugins.lsp = { plugins.lsp = {
enable = true; enable = true;
servers = { servers = {
#nil_ls.enable = true; #nil_ls.enable = true;
nil_ls = { nil_ls = {
enable = true; enable = true;
settings = { settings = {
nix.flake.autoArchive = true; nix.flake.autoArchive = true;
}; };
}; };
clangd.enable = true; clangd.enable = true;
html.enable = true; html.enable = true;
pyright.enable = true; pyright.enable = true;
}; };
}; };
plugins.rustaceanvim.enable = true; plugins.rustaceanvim.enable = true;
}; };
} }