From: "Brett H. Williams" Date: 2003-08-25T23:33:29+09:00 Subject: Re: Punctuation as noise On Aug 24, Austin Ziegler wrote: > On Fri, 22 Aug 2003 03:15:22 +0900, Brett H. Williams wrote: > > But I still miss the visual feedback of the highlight. When it worked it > > was very nice. When it intermittently stopped working I missed it. When > > it went into an infinite loop I cursed it :) (If I could write emacs > > extensions in Ruby instead of elisp, I could've fixed it :) > > This is where I like the context-sensitive highlighting, but also the > *folding* offered by the ruby syntax file for vim. I can collapse blocks and > see the code around them. The other thing that I find is that this *really* > helps with refactoring code. Yes, I'm just starting to touch the tip of the iceberg with vim folds. I'll have to try collapsing the blocks and looking at surrounding code. That sounds like an interesting idea for looking at a method at a higher level. I sometimes fold methods to get a higher-level view of a class, but this is potentially even more useful. About the context-sensitive highlighting in vim--exactly what do you mean? Is there a feature I'm not aware of? I do see that the 'end' is often colored to match based on what it began on, but it does little in the presence of nesting (I get one color for class/module/method ends, and another for other ends). -- ---------------------------------------------- | -------------------------- Brett Williams | (970) 288-0475 Agilent Technologies | brett_williams@agilent.com ---------------------------------------------- | --------------------------