How to return a lualine component using a function? #1143
Unanswered
LoyalPotato
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using nvim-navic in the winbar to get some info according to the location of the cursor.
But when the cursor is in an empty line, that isn't inside a function or similar, it won't show anything. So what I'm trying to do is, when this is the case, show one of the components from lualine, such as
filename
.The config for lualine's winbar is like so:
Is this even possible to do in a straightforward way?
Beta Was this translation helpful? Give feedback.
All reactions