Skip to content

Conversation

@ben-hansske
Copy link

  • Closes highlight function only called on init? #188.

  • If the user passes a function or a table containing a function to highlight or separator_highlight, the highlight groups do get initialized, but do not get updated frequently.

  • The solution would include having a second table, containing all the "dynamic" highlights, i.e. the ones that are/contain functions and need an update.

  • If that list is not empty, add to vim.wo.statusline an luaeval, that updates the highlights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

highlight function only called on init?

1 participant