tamton-aquib / staline.nvim

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

Issue with staline ui #15

Closed Iamafnan closed 3 years ago

Iamafnan commented 3 years ago

Hey I have an issue with staline ui

In my NeoVim it looks like this IMG_20211015_134657

How can I make it like this Statusline

tamton-aquib commented 3 years ago

Heyyo @Iamafnan ,

Could u give a little bit more info on how u installed, what the setup function looks like, also maybe a link to your config 😅

Iamafnan commented 3 years ago

Heyyo @Iamafnan ,

Could u give a little bit more info on how u installed, what the setup function looks like, also maybe a link to your config 😅

My full config https://github.com/Iamafnan/my-nvimrc

tamton-aquib commented 3 years ago

Hey @Iamafnan , i just tried your config

It looks like this for me: image

also, i havent changed anything in the folder as u can see: image

i guess its probably because of the way the plugins are loaded. All colorschemes contain a syntax clear command., maybe it was called after loading the statusline.

You could:

  1. Change colorscheme and check
  2. try this config on another machine.
  3. change the order of loading of plugins.
  4. add this line to the config: vim.cmd [[au ColorScheme * require("staline").set_statusline()]]