summaryrefslogtreecommitdiff
path: root/neovim.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-06-30 09:31:12 -0400
committerseth <[email protected]>2024-06-30 09:31:12 -0400
commite00e18b05f519c7f82031477d5759665abd890d1 (patch)
tree33d6b5a7f547bdb69a62391be00529df705e5864 /neovim.nix
parent244dd7f5a4a7d39c0945f9720a68ea7704169375 (diff)
alejandra -> nixfmt-rfc-style
Diffstat (limited to 'neovim.nix')
-rw-r--r--neovim.nix38
1 files changed, 20 insertions, 18 deletions
diff --git a/neovim.nix b/neovim.nix
index 8819d3f..ef721a8 100644
--- a/neovim.nix
+++ b/neovim.nix
@@ -5,18 +5,19 @@
wrapNeovimUnstable,
neovim-unwrapped,
actionlint,
- alejandra,
beautysh,
ripgrep,
efm-langserver,
nil,
+ nixfmt-rfc-style,
nodePackages,
shellcheck,
statix,
typos-lsp,
vimPlugins-getchoo-nvim,
...
-}: let
+}:
+let
plugins = with vimPlugins; [
bufferline-nvim
# dependent on >
@@ -75,23 +76,24 @@
nodePackages.bash-language-server
shellcheck
nil
- alejandra
+ nixfmt-rfc-style
typos-lsp
];
- neovimConfig = neovimUtils.makeNeovimConfig {
- plugins = plugins ++ [vimPlugins-getchoo-nvim];
- };
+ neovimConfig = neovimUtils.makeNeovimConfig { plugins = plugins ++ [ vimPlugins-getchoo-nvim ]; };
in
- wrapNeovimUnstable neovim-unwrapped (
- neovimConfig
- // {
- luaRcContent = ''
- require("getchoo")
- '';
-
- wrapperArgs =
- neovimConfig.wrapperArgs
- ++ ["--suffix" "PATH" ":" "${lib.makeBinPath extraPackages}"];
- }
- )
+wrapNeovimUnstable neovim-unwrapped (
+ neovimConfig
+ // {
+ luaRcContent = ''
+ require("getchoo")
+ '';
+
+ wrapperArgs = neovimConfig.wrapperArgs ++ [
+ "--suffix"
+ "PATH"
+ ":"
+ "${lib.makeBinPath extraPackages}"
+ ];
+ }
+)