Closed Hou-Rui closed 1 year ago
Can you try #404 for me and see if it fixes this issue? I don't have a vim-plug setup at hand.
Can you try #404 for me and see if it fixes this issue? I don't have a vim-plug setup at hand.
Thanks, #404 seems to fix it! Please close this when #404 is merged.
I am getting the same behavior with pakcer.nvim
, so this problem should be package manager independent I guess.
Description
When using Vim-Plug, the functionalities of barbar work, but options in
require'barbar'.setup()
ininit.vim
does not apply.Typing
:lua require 'barbar'.setup { animation = false, auto_hide = true }
interactively does apply the options. It's just options ininit.vim
that does not work.Setting
g:bufferline
(orvim.g.bufferline
in Lua heredoc) ininit.vim
works as expected (but shows a deprecation warning).Using
lazy.nvim
works as expected.To Reproduce
A minimal
init.vim
to reproduce:No errors are displayed, the options just does not apply.
Screenshots
A screenshot in a clean Neovim install (taken in Alpine Podman to ensure clean install, but it's the same on my main machine):
(You can see how auto_hide is not applied here)
Informations NVIM v0.8.3 Build type: Release LuaJIT 2.1.0-beta3 OS: Manjaro Linux 22.1.0