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 = {
|
||||
enable = true;
|
||||
nvimWebDevicons.enable = true;
|
||||
scrollBar.enable = isMaximal;
|
||||
smoothScroll.enable = true;
|
||||
cellularAutomaton.enable = false;
|
||||
nvim-scrollbar.enable = isMaximal;
|
||||
nvim-web-devicons.enable = true;
|
||||
nvim-cursorline.enable = true;
|
||||
cinnamon-nvim.enable = true;
|
||||
fidget-nvim.enable = true;
|
||||
|
||||
highlight-undo.enable = true;
|
||||
indent-blankline.enable = true;
|
||||
|
||||
indentBlankline.enable = true;
|
||||
|
||||
cursorline = {
|
||||
enable = true;
|
||||
lineTimeout = 0;
|
||||
};
|
||||
# Fun
|
||||
cellular-automaton.enable = false;
|
||||
};
|
||||
|
||||
statusline = {
|
||||
|
|
|
@ -15,10 +15,14 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
vim = {
|
||||
startPlugins = [
|
||||
(assert config.vim.visuals.nvimWebDevicons.enable; "nvim-bufferline-lua")
|
||||
"nvim-bufferline-lua"
|
||||
"bufdelete-nvim"
|
||||
];
|
||||
|
||||
# Soft-dependency for bufferline.
|
||||
# Recommended by upstream, so enabled here.
|
||||
visuals.nvim-web-devicons.enable = true;
|
||||
|
||||
maps.normal = mkMerge [
|
||||
(mkLuaBinding cfg.mappings.closeCurrent "require(\"bufdelete\").bufdelete" mappings.closeCurrent.description)
|
||||
(mkBinding cfg.mappings.cycleNext ":BufferLineCycleNext<CR>" mappings.cycleNext.description)
|
||||
|
|
Loading…
Add table
Reference in a new issue