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

Issue 124 in vim: vim.vim syntax highlighting bug when option string starts with 'z'

Expand Messages
  • vim@...
    Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 124 by ikirudennis: vim.vim syntax highlighting bug when option string starts with z
    Message 1 of 6 , Mar 21, 2013
    • 0 Attachment
      Status: New
      Owner: ----
      Labels: Type-Defect Priority-Medium

      New issue 124 by ikirudennis: vim.vim syntax highlighting bug when option
      string starts with 'z'
      http://code.google.com/p/vim/issues/detail?id=124

      I came upon this in the following manner. In my vimrc, I added colorscheme
      zenburn. The colorscheme is correctly highlighted, but the 'z' in zenburn
      doesn't appear to be correct. (See attached screenshot) Checking the
      highlighting rules that are applied, the z was 'VimIsCommand,vimCommand'
      while the remainder of the word is 'vimIsCommand'.

      It appears that in revision 916c90b37ea9adbe7dc1e866f85c6e5b49cfba25
      http://code.google.com/p/vim/source/detail?spec=svn916c90b37ea9adbe7dc1e866f85c6e5b49cfba25&r=916c90b37ea9adbe7dc1e866f85c6e5b49cfba25 ,
      the regex for vimCommand was changed and this leads to the bug. Is there a
      distinct reason for that change, or should it be reverted back or modified
      somehow?

      Attachments:
      Screen Shot 2013-03-21 at 6.51.16 PM.png 5.6 KB

      --
      You received this message because this project is configured to send all
      issue notifications to this address.
      You may adjust your notification preferences at:
      https://code.google.com/hosting/settings

      --
      --
      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 because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • vim@...
      Updates: Cc: drc...@campbellfamily.biz Comment #1 on issue 124 by chrisbr...@googlemail.com: vim.vim syntax highlighting bug when option string starts with z
      Message 2 of 6 , Sep 30, 2014
      • 0 Attachment
        Updates:
        Cc: drc...@...

        Comment #1 on issue 124 by chrisbr...@...: vim.vim syntax
        highlighting bug when option string starts with 'z'
        https://code.google.com/p/vim/issues/detail?id=124

        Still seems to be an issue. CC'ing Charles, as he is the maintainer of the
        vim syntax file.

        I think this patch fixes it:
        diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
        --- a/runtime/syntax/vim.vim
        +++ b/runtime/syntax/vim.vim
        @@ -23,7 +23,7 @@ syn keyword vimCommand contained abc[lea
        syn keyword vimCommand contained abo[veleft] arge[dit] au bl[ast] br
        bro[wse] bun[load] cad[dexpr] cc
        syn keyword vimCommand contained al[l] argg[lobal] bad[d]
        bm[odified] brea[k] bu bw[ipeout] caddf[ile
        syn keyword vimCommand contained ar argl[ocal] ba[ll] bn[ext]
        breaka[dd] buf c cal[l] ce[nter] cg[etf
        -syn match vimCommand contained "\<z[-+^.=]\="
        +syn match vimCommand contained "\<z[-+^.=]\=\>"
        syn keyword vimStdPlugin contained DiffOrig Man N[ext] P[rint] S
        TOhtml XMLent XMLns

        " vimOptions are caught only when contained in a vimSet {{{2


        --
        You received this message because this project is configured to send all
        issue notifications to this address.
        You may adjust your notification preferences at:
        https://code.google.com/hosting/settings

        --
        --
        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 because you are subscribed to the Google Groups "vim_dev" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/d/optout.
      • vim@...
        Updates: Labels: Runtime Comment #2 on issue 124 by chrisbr...@googlemail.com: vim.vim syntax highlighting bug when option string starts with z
        Message 3 of 6 , Sep 30, 2014
        • 0 Attachment
          Updates:
          Labels: Runtime

          Comment #2 on issue 124 by chrisbr...@...: vim.vim syntax
          highlighting bug when option string starts with 'z'
          https://code.google.com/p/vim/issues/detail?id=124

          (No comment was entered for this change.)

          --
          You received this message because this project is configured to send all
          issue notifications to this address.
          You may adjust your notification preferences at:
          https://code.google.com/hosting/settings

          --
          --
          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 because you are subscribed to the Google Groups "vim_dev" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
          For more options, visit https://groups.google.com/d/optout.
        • vim@...
          Updates: Labels: patch Comment #3 on issue 124 by chrisbr...@googlemail.com: vim.vim syntax highlighting bug when option string starts with z
          Message 4 of 6 , Jan 9
          • 0 Attachment
            Updates:
            Labels: patch

            Comment #3 on issue 124 by chrisbr...@...: vim.vim syntax
            highlighting bug when option string starts with 'z'
            https://code.google.com/p/vim/issues/detail?id=124

            (No comment was entered for this change.)

            --
            You received this message because this project is configured to send all
            issue notifications to this address.
            You may adjust your notification preferences at:
            https://code.google.com/hosting/settings

            --
            --
            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 because you are subscribed to the Google Groups "vim_dev" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
            For more options, visit https://groups.google.com/d/optout.
          • vim@...
            Updates: Status: Fixed Comment #4 on issue 124 by drc...@campbellfamily.biz: vim.vim syntax highlighting bug when option string starts with z
            Message 5 of 6 , Jan 9
            • 0 Attachment
              Updates:
              Status: Fixed

              Comment #4 on issue 124 by drc...@...: vim.vim syntax
              highlighting bug when option string starts with 'z'
              https://code.google.com/p/vim/issues/detail?id=124

              This bug has been fixed for awhile; looks like I neglected to close it.

              --
              You received this message because this project is configured to send all
              issue notifications to this address.
              You may adjust your notification preferences at:
              https://code.google.com/hosting/settings

              --
              --
              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 because you are subscribed to the Google Groups "vim_dev" group.
              To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
              For more options, visit https://groups.google.com/d/optout.
            • vim@...
              Comment #5 on issue 124 by brammool...@gmail.com: vim.vim syntax highlighting bug when option string starts with z
              Message 6 of 6 , Jan 9
              • 0 Attachment
                Comment #5 on issue 124 by brammool...@...: vim.vim syntax
                highlighting bug when option string starts with 'z'
                https://code.google.com/p/vim/issues/detail?id=124

                This change is not in the distribution yet. Perhaps you need to send your
                Vim syntax file to me?

                --
                You received this message because this project is configured to send all
                issue notifications to this address.
                You may adjust your notification preferences at:
                https://code.google.com/hosting/settings

                --
                --
                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 because you are subscribed to the Google Groups "vim_dev" group.
                To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
                For more options, visit https://groups.google.com/d/optout.
              Your message has been successfully submitted and would be delivered to recipients shortly.