From 64a24318c7fdf1fecdb1cf3faf1360f6c7d5626d Mon Sep 17 00:00:00 2001 From: c-my Date: Thu, 1 Sep 2022 17:04:35 +0800 Subject: [PATCH] update bufferline config --- lua/configs/plugins/bufferline.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lua/configs/plugins/bufferline.lua b/lua/configs/plugins/bufferline.lua index cd6279e..1053adc 100644 --- a/lua/configs/plugins/bufferline.lua +++ b/lua/configs/plugins/bufferline.lua @@ -10,7 +10,9 @@ vim.api.nvim_set_keymap('n', '', ':BufferLineCycleNext', opts) vim.api.nvim_set_keymap('n', '', ':BufferLineCyclePrev', opts) bufferline.setup({ - offsets = { - { filetype = 'NvimTree', text = 'File Explorer', text_align = 'center' }, - }, + options = { + offsets = { + { filetype = 'NvimTree', text = 'File Explorer', text_align = 'center' }, + }, + } })