added filetype config to nixvim

This commit is contained in:
willifan 2024-10-15 16:15:48 +02:00
parent d72dfd8881
commit fdef44481d
2 changed files with 15 additions and 0 deletions

View file

@ -7,6 +7,7 @@
}; };
imports = [ imports = [
./filetype.nix
./gitsigns.nix ./gitsigns.nix
./illuminate.nix ./illuminate.nix
./lsp.nix ./lsp.nix

View file

@ -0,0 +1,14 @@
{ ... }:
{
programs.nixvim.files = {
"ftplugin/nix.lua" = {
opts = {
expandtab = true;
shiftwidth = 2;
tabstop = 2;
};
};
};
}