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 ./settings.nix
./opts.nix ./opts.nix
./theme.nix ./theme.nix
./keymaps.nix ./globals.nix
./plugins ./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; enable = true;
setupOpts = { setupOpts = {
heading = { heading = {
border = true;
width = "block"; width = "block";
left_pad = 3; left_pad = 3;
right_pad = 4; right_pad = 4;

View file

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

View file

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