Browse Source

👌 IMPROVE: bufferline use bbye to close buffer

pull/174/head
Xin.Chen 3 years ago
parent
commit
7a1d3ea076
  1. 7
      lua/plugin-config/bufferline.lua
  2. 2
      lua/plugins.lua

7
lua/plugin-config/bufferline.lua

@ -1,6 +1,11 @@
-- https://github.com/akinsho/bufferline.nvim
local bufferline = requirePlugin("bufferline")
if not bufferline then
return
end
vim.opt.termguicolors = true
require("bufferline").setup({
bufferline.setup({
options = {
close_command = "Bdelete! %d",
-- 使用 nvim 内置lsp

2
lua/plugins.lua

@ -113,7 +113,7 @@ return packer.startup(function(use)
"nvim-lua/plenary.nvim",
},
})
use "moll/vim-bbye"
use("moll/vim-bbye")
--------------------------- colorscheme ------------------------------------

Loading…
Cancel
Save