Anhad Jai Singh wrote:

> When I do 'o' (plain old 'o', no fancy mappings nothing, the deafult
> open-INSERT-mode and take me to the next line 'o'), at a specific location
> in a specific file, vim hits 100% CPU usage, becomes unresponsive and needs
> to be killed.
> 
> After some discussion on the #vim on freenode, :tek0 and :accolade helped
> narrow it down to the syntax highlighting. :syntax off makes the "bug"
> disappear.
> 
> 
> Steps to reproduce:
> 
> 1. vim main.php
> 2. Go to line 48, on the closing '}' bracket.
> 3. hit 'o'
> 4. open top, watch vim hit 100% CPU usage.
> 
> 
> I'm attaching:
> 
> 1. The file "main.php"
> 2. vim --version's output
> 3. my .vimrc
> 
> Some of the debugging output requested on #vim, which may be useful again:
> 
> Q: What does :map o  give you? A: :map o gives No mapping found.
> Q: do you get anything for :au InsertEnter A: No.
> Q: any difference if you `:set foldmethod=manual`? A: No.
> Q: what's the filetype? A: filetype=php

I can reproduce it.

Note that you can press CTRL-C to get out, no need to kill Vim.

Can someone use :syntime to find out what is causing this problem?

-- 
hundred-and-one symptoms of being an internet addict:
174. You know what a listserv is.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui