This commit is contained in:
elkowar 2022-04-18 20:03:25 +02:00
parent b5e3817574
commit 227954f664
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
2 changed files with 4 additions and 2 deletions

View file

@ -49,7 +49,9 @@
:folke/todo-comments.nvim (cfg "dots.plugins.todo-comments") :folke/todo-comments.nvim (cfg "dots.plugins.todo-comments")
:Famiu/feline.nvim (cfg "dots.plugins.feline") :Famiu/feline.nvim (cfg "dots.plugins.feline")
:akinsho/nvim-bufferline.lua (cfg "dots.plugins.bufferline") :akinsho/nvim-bufferline.lua {:opt false
:config #(require "dots.plugins.bufferline")
:tag "v1.1.1"}
:psliwka/vim-smoothie {} :psliwka/vim-smoothie {}
:norcalli/nvim-colorizer.lua (cfg "dots.plugins.nvim-colorizer") :norcalli/nvim-colorizer.lua (cfg "dots.plugins.nvim-colorizer")

View file

@ -191,7 +191,7 @@
(vim.api.nvim_buf_is_loaded $1) (vim.api.nvim_buf_is_loaded $1)
(= "" (str.join (utils.buffer-content $1))) (= "" (str.join (utils.buffer-content $1)))
(vim.api.nvim_buf_get_option $1 "buflisted")) (vim.api.nvim_buf_get_option $1 "buflisted"))
(vim.fn.range 1 (vim.api.nvim_buf_get_number "$")))] (vim.fn.range 1 "$"))]
(when (not (a.empty? bufs)) (when (not (a.empty? bufs))
(vim.cmd (.. "bdelete " (str.join " " bufs)))))) (vim.cmd (.. "bdelete " (str.join " " bufs))))))