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

Re: Syntax bug vim.vim syn match vimFunc (..........., ('.........

Expand Messages
  • Dominique PellĂ©
    ... Hi This bug is mentioned in :help todo.txt . I also investigated it. See this thread:
    Message 1 of 3 , Oct 1, 2012
    • 0 Attachment
      RH-maillist wrote:

      > Perhaps my bug-search foo is off, but can't find any posts on this.
      >
      > When typing, or having / it gets into view => syntaxed, this in a file vim
      > freeze. Ctr-C is only way to escape.
      >
      > As more dots are added vim works like crazy.
      >
      > To reproduce:
      >
      > 1. In a file with :set filetype=vim and syntax highlighting on
      > 2. Enter ('
      > 3. Enter ......... (dots)
      > 3b. As one enter dots vim steadily goes slower until a complete freeze.
      >
      > Tested with: $ (g)vim -u NONE, :set ft=vim, :syn on
      >
      > Samples of strings that result in a complete freeze, or not, when in view:
      >
      > Freeze: ('..............................................
      > Freeze: ('..............................................')
      > Freeze: (...............................................
      > Freeze: (...............................................
      > OK : '.............................................')
      >
      > So, i.e. string('............ <= produces a problem.
      >
      > The problem-line, (as far as I can tell), is line 361 in vim.vim
      > gvim +362 /usr/share/vim/vim73/syntax/vim.vim
      >
      > syn match vimFunc
      > "\%(\%([sSgGbBwWtTlL]:\|<[sS][iI][dD]>\)\=\%([a-zA-Z0-9_.]\+\.\)*\I[a-zA-Z0-9_.]*\)\ze\s*("
      > contains=vimFuncName,vimUserFunc,vimExecute
      >
      > More to the point, no phun intended, 93|
      >
      > Thats as far as my investigation goes. Assume people knowing vim.vim more
      > intimately has a better solution for this then I can produce.
      >
      >
      > VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 28 2012 13:46:32)
      > Included patches: 1-154


      Hi

      This bug is mentioned in ":help todo.txt".
      I also investigated it. See this thread:

      https://groups.google.com/forum/?fromgroups=#!msg/vim_dev/yM8flD7RqeU/htEtdR8kVJoJ

      Regards
      -- Dominique

      --
      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
    • Charles Campbell
      ... Try syntax/vim.vim v7.3-16. (http://www.drchip.org/astronaut/vim/index.html#vimlinks_syntax, click on vim.vim.gz) Regards, C Campbell -- You received this
      Message 2 of 3 , Oct 1, 2012
      • 0 Attachment
        RH-maillist wrote:
        > Perhaps my bug-search foo is off, but can't find any posts on this.
        >
        > When typing, or having / it gets into view => syntaxed, this in a file
        > vim
        > freeze. Ctr-C is only way to escape.
        >
        > As more dots are added vim works like crazy.
        >
        > To reproduce:
        >
        > 1. In a file with :set filetype=vim and syntax highlighting on
        > 2. Enter ('
        > 3. Enter ......... (dots)
        > 3b. As one enter dots vim steadily goes slower until a complete freeze.
        >
        > Tested with: $ (g)vim -u NONE, :set ft=vim, :syn on
        >
        > Samples of strings that result in a complete freeze, or not, when in
        > view:
        >
        > Freeze: ('..............................................
        > Freeze: ('..............................................')
        > Freeze: (...............................................
        > Freeze: (...............................................
        > OK : '.............................................')
        Try syntax/vim.vim v7.3-16.

        (http://www.drchip.org/astronaut/vim/index.html#vimlinks_syntax, click
        on vim.vim.gz)

        Regards,
        C 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
      Your message has been successfully submitted and would be delivered to recipients shortly.