lol

neovim: pass wrapper args only once (#257136)

authored by

Yusup and committed by
GitHub
801e33f5 29351a88

+2 -4
+2 -4
pkgs/applications/editors/neovim/wrapper.nix
··· 39 39 40 40 wrapperArgsStr = if lib.isString wrapperArgs then wrapperArgs else lib.escapeShellArgs wrapperArgs; 41 41 42 - # "--add-flags" (lib.escapeShellArgs flags) 43 - # wrapper args used both when generating the manifest and in the final neovim executable 44 - commonWrapperArgs = (lib.optionals (lib.isList wrapperArgs) wrapperArgs) 42 + commonWrapperArgs = 45 43 # vim accepts a limited number of commands so we join them all 46 - ++ [ 44 + [ 47 45 "--add-flags" ''--cmd "lua ${providerLuaRc}"'' 48 46 # (lib.intersperse "|" hostProviderViml) 49 47 ] ++ lib.optionals (packpathDirs.myNeovimPackages.start != [] || packpathDirs.myNeovimPackages.opt != []) [