tamton-aquib / staline.nvim

A modern lightweight statusline and bufferline plugin for neovim in lua.
MIT License
373 stars 16 forks source link

Error starting any file #37

Closed JjersaR closed 2 years ago

JjersaR commented 2 years ago

I updated the plugins with Packer and since then staline no longer works.

imagen

This is my version of nvim imagen

By executing this command :checkhealth all is well

tamton-aquib commented 2 years ago

Heyyo @JjersaR, can you send your staline config?

JjersaR commented 2 years ago

Yes, this is my configuration https://github.com/JjersaR/nvim/blob/main/lua/staline-config/init.lua

tamton-aquib commented 2 years ago

Each section can either be {highlight, value} or just be value. On line 19 of your config, try changing:

'mode', {'StalineBranch', 'file_name', 'branch'},

to:

'mode', {'StalineBranch', 'file_name'}, { 'StalineBranch', 'branch'},
JjersaR commented 2 years ago

Thank you very much, it worked for me