added filetype config to nixvim
This commit is contained in:
parent
d72dfd8881
commit
fdef44481d
2 changed files with 15 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
};
|
||||
|
||||
imports = [
|
||||
./filetype.nix
|
||||
./gitsigns.nix
|
||||
./illuminate.nix
|
||||
./lsp.nix
|
||||
|
|
14
users/willifan/common/nixvim/filetype.nix
Normal file
14
users/willifan/common/nixvim/filetype.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
{
|
||||
|
||||
programs.nixvim.files = {
|
||||
"ftplugin/nix.lua" = {
|
||||
opts = {
|
||||
expandtab = true;
|
||||
shiftwidth = 2;
|
||||
tabstop = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue