Loading ...
Sorry, an error occurred while loading the content.

67420Re: [patch] Extend :highlight link command to take attributes

Expand Messages
  • So8res
    Dec 4, 2012
      Upon reconsideration, synIDtrans should return a list of IDs that are being used in the current highlight group. This includes all links that also have attributes & the top level group if any, skipping vanilla links.

      This is consistent with the behavior that syntax-combine should exhibit.

      Here's the patch updated with the synIDtrans fix.

      We might want to consider adding a "link" {what} to synIDattr, as it's now a bit harder to detect links.

      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 4 messages in this topic