From: BPJ, Tue, May 17, 2011 9:47 am
> 
> in my .vimrc I have several commands like this one:
> 
>  au! BufNewFile,BufRead,BufEnter,TabEnter *.sch set filetype=sch
> 
> Whenever I enter a file of a type included in those
> commands with Cream I get an error E218 "Autocommands
> nested too deep" (or something like that; my
> installation speaks Swedish to me! :-), and sometimes
> the editor freezes. I know this is a Cream problem,
> because it doesn't happen with regular gvim[^1]. What
> can I do to solve this problem? (And what may be
> causing it?)

I would first try the command without clearing (no "!"):

  au BufNewFile,BufRead,BufEnter,TabEnter *.sch set filetype=sch

but then try nesting/recursion limits (with "nested"):

  au BufNewFile,BufRead,BufEnter,TabEnter *.sch nested set filetype=sch

Do these fix it?


-- 
Steve Hall  [ digitect dancingpaper com ]
:: Cream for Vim (http://cream.sourceforge.net)



------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to