mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-24 04:18:03 +00:00
treewide: find and replace deprecated options
This commit is contained in:
parent
65c9bed260
commit
ccdc229eee
2 changed files with 13 additions and 12 deletions
|
@ -75,20 +75,17 @@ isMaximal: {
|
||||||
};
|
};
|
||||||
|
|
||||||
visuals = {
|
visuals = {
|
||||||
enable = true;
|
nvim-scrollbar.enable = isMaximal;
|
||||||
nvimWebDevicons.enable = true;
|
nvim-web-devicons.enable = true;
|
||||||
scrollBar.enable = isMaximal;
|
nvim-cursorline.enable = true;
|
||||||
smoothScroll.enable = true;
|
cinnamon-nvim.enable = true;
|
||||||
cellularAutomaton.enable = false;
|
|
||||||
fidget-nvim.enable = true;
|
fidget-nvim.enable = true;
|
||||||
|
|
||||||
highlight-undo.enable = true;
|
highlight-undo.enable = true;
|
||||||
|
indent-blankline.enable = true;
|
||||||
|
|
||||||
indentBlankline.enable = true;
|
# Fun
|
||||||
|
cellular-automaton.enable = false;
|
||||||
cursorline = {
|
|
||||||
enable = true;
|
|
||||||
lineTimeout = 0;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
statusline = {
|
statusline = {
|
||||||
|
|
|
@ -15,10 +15,14 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = [
|
startPlugins = [
|
||||||
(assert config.vim.visuals.nvimWebDevicons.enable; "nvim-bufferline-lua")
|
"nvim-bufferline-lua"
|
||||||
"bufdelete-nvim"
|
"bufdelete-nvim"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Soft-dependency for bufferline.
|
||||||
|
# Recommended by upstream, so enabled here.
|
||||||
|
visuals.nvim-web-devicons.enable = true;
|
||||||
|
|
||||||
maps.normal = mkMerge [
|
maps.normal = mkMerge [
|
||||||
(mkLuaBinding cfg.mappings.closeCurrent "require(\"bufdelete\").bufdelete" mappings.closeCurrent.description)
|
(mkLuaBinding cfg.mappings.closeCurrent "require(\"bufdelete\").bufdelete" mappings.closeCurrent.description)
|
||||||
(mkBinding cfg.mappings.cycleNext ":BufferLineCycleNext<CR>" mappings.cycleNext.description)
|
(mkBinding cfg.mappings.cycleNext ":BufferLineCycleNext<CR>" mappings.cycleNext.description)
|
||||||
|
|
Loading…
Add table
Reference in a new issue