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

Re: Line Highlighting, Background Processes, Paid Help

Expand Messages
  • Charles Campbell
    ... Vim does not support independent background highlighting; one must simulate the effect by duplicating the highlighting commands with highlighting linked
    Message 1 of 6 , Oct 5, 2011
    • 0 Attachment
      Jonathan Dumaine wrote:
      > Excuse the vagueness.
      >
      > Line highlighting is determined by json specifying filename/path and
      > column/line range to highlight.
      >
      Vim does not support independent background highlighting; one must
      "simulate" the effect by duplicating the highlighting commands with
      highlighting linked to have the desired background.

      As an example, consider the two attached files.

      gvim junk
      :so backg.vim

      This file will highlight "one" and "two" with different backgrounds if
      they're between and including lines 5-10.

      Regards,
      Chip Campbell

      --
      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
    • Jonathan Dumaine
      That is brilliant! Thank you, Charles. Exactly what I was looking for. Jonathan Dumaine +1 50.55.10.11.12 On Wed, Oct 5, 2011 at 12:15 PM, Charles Campbell
      Message 2 of 6 , Oct 5, 2011
      • 0 Attachment
        That is brilliant! Thank you, Charles. Exactly what I was looking for. 


        Jonathan Dumaine
        +1 50.55.10.11.12


        On Wed, Oct 5, 2011 at 12:15 PM, Charles Campbell <Charles.E.Campbell@...> wrote:
        Jonathan Dumaine wrote:
        Excuse the vagueness.

        Line highlighting is determined by json specifying filename/path and column/line range to highlight.

        Vim does not support independent background highlighting; one must "simulate" the effect by duplicating the highlighting commands with highlighting linked to have the desired background.

        As an example, consider the two attached files.

        gvim junk
        :so backg.vim

        This file will highlight "one" and "two" with different backgrounds if they're between and including lines 5-10.

        Regards,
        Chip Campbell


        --
        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

        --
        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.