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

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

Expand Messages
  • So8res
    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
    Message 1 of 4 , Dec 4, 2012
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.