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
|
./settings.nix
|
||||||
./opts.nix
|
./opts.nix
|
||||||
./theme.nix
|
./theme.nix
|
||||||
./keymaps.nix
|
./globals.nix
|
||||||
./plugins
|
./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;
|
enable = true;
|
||||||
setupOpts = {
|
setupOpts = {
|
||||||
heading = {
|
heading = {
|
||||||
border = true;
|
|
||||||
width = "block";
|
width = "block";
|
||||||
left_pad = 3;
|
left_pad = 3;
|
||||||
right_pad = 4;
|
right_pad = 4;
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,12 @@
|
||||||
autoStart = false;
|
autoStart = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
images.image-nvim = {
|
||||||
|
enable = true;
|
||||||
|
setupOpts = {
|
||||||
|
backend = "kitty";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue