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

Re: Best way to add a patch for color-coded folded folds

Expand Messages
  • Noel Henson
    ... On some more thinking... The foldcolor function could return a string that could then be matched by the highlighting functions. Noel -- ... Noel Henson
    Message 1 of 2 , Sep 6 1:08 PM
    • 0 Attachment
      On Sunday 06 September 2009, Noel Henson wrote:
      > What is the best approach for providing a method that allows for folded
      > folds of different levels to be of different colors? We have a patch
      > that works but I'm sure is not the best way to do it. It essentially
      > replaces HLF-FL with FOLDLEVEL1 through FOLDLEVEL9.
      >
      > Another option is to provide a new function in vim similar to foldexpr
      > and foldtext; perhaps foldcolor.
      >
      > Any help would be appreciated as we would like the patch to be properly
      > done so that it has a chance of being included in the mainstream vim
      > sources.
      >
      > Thanks,
      >
      > Noel

      On some more thinking... The foldcolor function could return a string that
      could then be matched by the highlighting functions.

      Noel

      --

      ------------------------------------------------------------------
      Noel Henson
      www.noels-lab.com Chips, firmware and embedded systems
      www.vimoutliner.org Work fast. Think well.


      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.