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