feat: fix nixfmt
This commit is contained in:
parent
2b593f2e72
commit
a784ba021f
3 changed files with 44 additions and 21 deletions
|
|
@ -1,28 +1,31 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.modules.apps.neovim = {
|
||||
enableLanguages = lib.mkEnableOption "enable LSP languages";
|
||||
};
|
||||
|
||||
config = {
|
||||
programs.neovim =
|
||||
{
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
ripgrep
|
||||
luarocks
|
||||
gnumake
|
||||
wget
|
||||
nixpkgs-fmt
|
||||
tree-sitter
|
||||
fd
|
||||
];
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
ripgrep
|
||||
luarocks
|
||||
gnumake
|
||||
wget
|
||||
tree-sitter
|
||||
fd
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
extraLuaConfig = lib.fileContents
|
||||
./init.lua;
|
||||
};
|
||||
extraLuaConfig = lib.fileContents ./init.lua;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue