Re: VIM config in PEAR files?
| From: | Dave Mertens | Date: | Mon, 15 Apr 2002 08:52:40 +0000 |
| Subject: | Re: VIM config in PEAR files? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5500@lists.php.net to get a copy of this message | ||
On Sun, Apr 14, 2002 at 11:11:48PM +0200, Markus Fischer wrote:
> On Sun, Apr 14, 2002 at 10:11:24PM +0100, Richard Heyes wrote :
> > > On Sun, Apr 14, 2002 at 10:04:43PM +0200, Tomas V.V.Cox wrote :
> > > > Markus Fischer wrote:
> > > > >
> > > > > I hardly see any vim config comments in the PEAR source files
> > > > > (so that tabs are properly expanded to spaces, etc).
> > > > >
> > > > > Any objection if I add them where needed?
> > > > >
> > > >
> > > > I don't like too much the idea to "dirty" the files with specific
> > > > editor
> > > > stuff.
> > >
> > > Why?
> >
> > A better question might be "Why vim?".
>
> Because *I* use vim and intend to place the proper definition
> into it so *everyone* using vim will automatically have the
> right mode (no tabs, spaces) when editing the files and the
> chance of commited something with fu@#^ up whitespaces is
> low.
And VIM doesn't have a config file where you can set those options for a file type??
I think that i doesn't matter if you're writing PHP PEAR code or just 'normal'
PHP code.
Or do you VIM users use for each file different options?
Or maybe you should use a editor (joe,pico,mc editor) that don't need a file specific config
line.
Dave Mertens