neovim: port to wrapNeovimUnstable
This commit is contained in:
parent
10aea555dd
commit
4c4a8a0897
|
@ -87,14 +87,11 @@ in
|
|||
{
|
||||
sane.programs.neovim = {
|
||||
# package = config.programs.neovim.finalPackage;
|
||||
package = pkgs.wrapNeovim pkgs.neovim-unwrapped {
|
||||
package = pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped (pkgs.neovimUtils.makeNeovimConfig {
|
||||
withRuby = false; #< doesn't cross-compile w/o binfmt
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
configure = {
|
||||
packages.plugins = {
|
||||
start = plugin-packages;
|
||||
};
|
||||
plugins = plugin-packages;
|
||||
customRC = ''
|
||||
" let the terminal handle mouse events, that way i get OS-level ctrl+shift+c/etc
|
||||
" this used to be default, until <https://github.com/neovim/neovim/pull/19290>
|
||||
|
@ -136,8 +133,7 @@ in
|
|||
${plugin-config-lua}
|
||||
EOF
|
||||
'';
|
||||
};
|
||||
};
|
||||
});
|
||||
|
||||
# private because there could be sensitive things in the swap
|
||||
persist.byStore.private = [ ".cache/vim-swap" ];
|
||||
|
|
Loading…
Reference in New Issue
Block a user