summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-20 21:12:29 -0400
committerseth <[email protected]>2024-05-20 21:12:29 -0400
commit686c63b9dc7837578a5686eb9afc6d08ebe82e88 (patch)
treef045d4c655e6558125aca01a34310da20a409c16
parent62933d57b8740d1bdfa48f0a0efbdd8a80f6ccd6 (diff)
nix: tidy up neovimConfig & wrapper call
-rw-r--r--neovim.nix21
1 files changed, 10 insertions, 11 deletions
diff --git a/neovim.nix b/neovim.nix
index 66017c0..b42ccbd 100644
--- a/neovim.nix
+++ b/neovim.nix
@@ -77,19 +77,18 @@ self: {
];
neovimConfig = pkgs.neovimUtils.makeNeovimConfig {
- withPython3 = true;
- withRuby = false;
plugins = plugins ++ [config];
- customRC = ''
- lua require("getchoo")
- '';
};
in
- pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped (lib.recursiveUpdate
+ pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped (
neovimConfig
- {
+ // {
+ luaRcContent = ''
+ require("getchoo")
+ '';
+
wrapperArgs =
- lib.escapeShellArgs neovimConfig.wrapperArgs
- + " "
- + ''--suffix PATH : "${lib.makeBinPath extraPackages}"'';
- })
+ neovimConfig.wrapperArgs
+ ++ ["--suffix" "PATH" ":" "${lib.makeBinPath extraPackages}"];
+ }
+ )