fix(bufferline): plugin was renamed from nvim-bufferline.lua -> bufferline.nvim. Fixes #128

This commit is contained in:
Folke Lemaitre 2023-01-25 08:19:44 +01:00
parent 5a4cb1b7ee
commit 2ae2a63265
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ map("v", "<A-k>", ":m '<-2<cr>gv=gv", { desc = "Move up" })
map("i", "<A-k>", "<Esc>:m .-2<cr>==gi", { desc = "Move up" })
-- buffers
if Util.has("nvim-bufferline.lua") then
if Util.has("bufferline.nvim") then
map("n", "<S-h>", "<cmd>BufferLineCyclePrev<cr>", { desc = "Prev buffer" })
map("n", "<S-l>", "<cmd>BufferLineCycleNext<cr>", { desc = "Next buffer" })
map("n", "[b", "<cmd>BufferLineCyclePrev<cr>", { desc = "Prev buffer" })

View file

@ -42,7 +42,7 @@ return {
-- bufferline
{
"akinsho/nvim-bufferline.lua",
"akinsho/bufferline.nvim",
event = "VeryLazy",
opts = {
options = {