diff options
| author | seth <[email protected]> | 2024-05-20 21:12:29 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-05-20 21:12:29 -0400 |
| commit | 686c63b9dc7837578a5686eb9afc6d08ebe82e88 (patch) | |
| tree | f045d4c655e6558125aca01a34310da20a409c16 /neovim.nix | |
| parent | 62933d57b8740d1bdfa48f0a0efbdd8a80f6ccd6 (diff) | |
nix: tidy up neovimConfig & wrapper call
Diffstat (limited to 'neovim.nix')
| -rw-r--r-- | neovim.nix | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -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}"]; + } + ) |
