ecosse3 / nvim

A non-minimal Neovim config built to work most efficiently with Frontend Development
GNU General Public License v3.0
1.19k stars 109 forks source link

barbar.nvim throwing deprecated errors #137

Closed sajayprakash closed 1 year ago

sajayprakash commented 1 year ago

Just did a fresh install of ecovim on arch linux. Received the following errors upon launch of any file.

The barbar.nvim option `icons = "both"` is deprecated, use `icons = { buffer_index = true, filetype = { enabled = true } }` instead.
This feature will be removed in barbar.nvim version 2.0.0
stack traceback:
    .../.local/share/nvim/lazy/barbar.nvim/lua/barbar/utils.lua:17: in function 'deprecate'
    ....local/share/nvim/lazy/barbar.nvim/lua/barbar/config.lua:191: in function 'setup'
    ....local/share/nvim/lazy/barbar.nvim/lua/barbar/events.lua:323: in function 'on_option_changed'
    .../user/.local/share/nvim/lazy/barbar.nvim/lua/barbar.lua:208: in function 'setup'
    /home/user/.config/nvim/lua/plugins/barbar.lua:2: in main chunk
    [C]: in function 'require'
    /home/user/.config/nvim/lua/config/plugins.lua:343: in function 'config'
    ...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:323: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:321>
    [C]: in function 'xpcall'
    .../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:110: in function 'try'
    ...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:338: in function 'config'
    ...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:306: in function '_load'
    ...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:180: in function 'load'
    ...hare/nvim/lazy/lazy.nvim/lua/lazy/core/handler/event.lua:33: in function <...hare/nvim/lazy/lazy.nvim/lua/lazy/core/handler/event.lua:26>
The barbar.nvim option `icon_pinned` is deprecated, use `icons.pinned.button` instead.
This feature will be removed in barbar.nvim version 2.0.0
ssjunior commented 1 year ago

Looks like it is not mantained.. I am using https://github.com/akinsho/bufferline.nvim instad

ecosse3 commented 1 year ago

I agree. I will move from https://github.com/romgrk/barbar.nvim to https://github.com/akinsho/bufferline.nvim today since barbar has too many errors and configuration issues...

ecosse3 commented 1 year ago

Merged to master.

fyi @sajayprakash @ssjunior