mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
tabline/nvim-bufferline: remove assertion; enable nvim-web-devicons by default
This commit is contained in:
parent
a6bb6e1b3e
commit
1b16c6b19f
1 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue