Replies: 1 comment
-
Ended up doing it like this. Feels like it's not terribly efficient to call the setup function each time I want to update the bar, though. If anyone knows of a better way to do this please let me know. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One of my components displays the current buffer's filepath. I know that I can change its format by setting the
path
option for the'filename'
component when setting up the plugin. However, I'd like to be able to click on the component to cycle through the differentpath
formatting options (0 -> 1 -> 2 -> 3 -> 4
).I'm not sure what to put in the
on_click
function for this component. Is there a lualine function to "update" the value of a config setting?Beta Was this translation helpful? Give feedback.
All reactions