neovim: nvf options change enableconfig --> globals
This commit is contained in:
parent
48368d3be2
commit
a31bebbf74
6 changed files with 13 additions and 8 deletions
|
|
@ -3,7 +3,7 @@
|
|||
./settings.nix
|
||||
./opts.nix
|
||||
./theme.nix
|
||||
./keymaps.nix
|
||||
./globals.nix
|
||||
./plugins
|
||||
];
|
||||
}
|
||||
|
|
|
|||
6
outputs/pkgs/ook-vim/config/globals.nix
Normal file
6
outputs/pkgs/ook-vim/config/globals.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
vim.globals = {
|
||||
editorconfig = true;
|
||||
mapleader = " ";
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
config.vim = {
|
||||
globals.mapleader = " ";
|
||||
};
|
||||
}
|
||||
|
|
@ -9,7 +9,6 @@
|
|||
enable = true;
|
||||
setupOpts = {
|
||||
heading = {
|
||||
border = true;
|
||||
width = "block";
|
||||
left_pad = 3;
|
||||
right_pad = 4;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,12 @@
|
|||
autoStart = false;
|
||||
};
|
||||
};
|
||||
images.image-nvim = {
|
||||
enable = true;
|
||||
setupOpts = {
|
||||
backend = "kitty";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
package = pkgs.neovim-unwrapped;
|
||||
searchCase = "smart";
|
||||
enableLuaLoader = true;
|
||||
enableEditorconfig = true;
|
||||
useSystemClipboard = true;
|
||||
autopairs.nvim-autopairs.enable = true;
|
||||
hideSearchHighlight = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue