Skip to content

Conversation

brianhuster
Copy link
Contributor

The callback parameter of add_icon_fn can now returns either a string or a dictionary with 2 fields (only in Vim 9.1+textprop and Nvim 0.8+):

  • icon (string): A string represents the icon
  • hl (string): a highlight group that must exists before the callback is called

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.

2 participants