How to write a custom component with both lua function and highlighting group? #1178
Unanswered
linrongbin16
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to create a custom component with lua function (since it's flexiable) to produce the text content, and render it with a highlighting group (for example 'Function').
how should I do it?
for now I configure it with:
It looks like:
I want to render the text with some color, so I try to configure it with:
But it seems breaks the background color of
lualine_z
sections:Beta Was this translation helpful? Give feedback.
All reactions