neovim: nvf options change enableconfig --> globals

This commit is contained in:
ooks-io 2025-01-28 19:59:48 +11:00
parent 48368d3be2
commit a31bebbf74
6 changed files with 13 additions and 8 deletions

View file

@ -3,7 +3,7 @@
./settings.nix
./opts.nix
./theme.nix
./keymaps.nix
./globals.nix
./plugins
];
}

View file

@ -0,0 +1,6 @@
{
vim.globals = {
editorconfig = true;
mapleader = " ";
};
}

View file

@ -1,5 +0,0 @@
{
config.vim = {
globals.mapleader = " ";
};
}

View file

@ -9,7 +9,6 @@
enable = true;
setupOpts = {
heading = {
border = true;
width = "block";
left_pad = 3;
right_pad = 4;

View file

@ -10,6 +10,12 @@
autoStart = false;
};
};
images.image-nvim = {
enable = true;
setupOpts = {
backend = "kitty";
};
};
};
};
}

View file

@ -3,7 +3,6 @@
package = pkgs.neovim-unwrapped;
searchCase = "smart";
enableLuaLoader = true;
enableEditorconfig = true;
useSystemClipboard = true;
autopairs.nvim-autopairs.enable = true;
hideSearchHighlight = true;