Re: JavaScript indentation

2007-01-30 Thread Martin Stubenschrott
On Tue, Jan 30, 2007 at 03:13:54AM +0100, Bram Moolenaar wrote: > Which script are you talking about exactly? There are four script > matches for "cppcomplete" on www.vim.org. Sorry, I thought you knew about it, since it has phenomenal ratings: http://www.vim.org/scripts/script.php?script_id=152

Re: JavaScript indentation

2007-01-29 Thread Bram Moolenaar
Martin Stubenschrott wrote: > On Sun, Jan 28, 2007 at 01:12:00AM +0100, Bram Moolenaar wrote: > > > Hope that gets added to the default vim 7.1 distribution, because it's > > > quite the best working omni complete script I have seen so far. > > > > Can you mention on what points cppcomplete.vim

Re: JavaScript indentation

2007-01-27 Thread Martin Stubenschrott
On Sun, Jan 28, 2007 at 01:12:00AM +0100, Bram Moolenaar wrote: > > Hope that gets added to the default vim 7.1 distribution, because it's > > quite the best working omni complete script I have seen so far. > > Can you mention on what points cppcomplete.vim works better than the > ccomplete.vim sc

Re: JavaScript indentation

2007-01-27 Thread Bram Moolenaar
Martin Stubenschrott wrote: > On Sat, Jan 27, 2007 at 07:35:16PM +0100, Bram Moolenaar wrote: > > Whatever this ends up to be: Please send me the best javascript indent > > script, so that I can include it with the runtime files. A "best guess" > > is better than nothing. > > Full ack. > > BTW

Re: JavaScript indentation

2007-01-27 Thread A.J.Mechelynck
Martin Stubenschrott wrote: On Sat, Jan 27, 2007 at 07:35:16PM +0100, Bram Moolenaar wrote: Whatever this ends up to be: Please send me the best javascript indent script, so that I can include it with the runtime files. A "best guess" is better than nothing. Full ack. BTW: The last time I br

Re: JavaScript indentation

2007-01-27 Thread Martin Stubenschrott
On Sat, Jan 27, 2007 at 07:35:16PM +0100, Bram Moolenaar wrote: > Whatever this ends up to be: Please send me the best javascript indent > script, so that I can include it with the runtime files. A "best guess" > is better than nothing. Full ack. BTW: The last time I browsed the updated runtime/

Re: JavaScript indentation

2007-01-27 Thread Bram Moolenaar
Ilya Bobir wrote: > I have a pretty working JS indentation script - javascript.vim, but it > handles only most common cases. It uses the build in C indentation > rules and does a bit of correction. Really much more corrections is > required in order to indent JavaScript correctly for all the

Re: JavaScript indentation

2007-01-25 Thread Gregory Seidman
On Thu, Jan 25, 2007 at 04:39:15PM +0200, Ilya Bobir wrote: > Gregory Seidman wrote: > >I'm finding that smartindent is routinely wrong about how I want things to > >be indented in JS, but I haven't been able to find an indent script. I'd be > >interested in working on it myself, but I don't know t

Re: JavaScript indentation

2007-01-25 Thread Ilya Bobir
Gregory Seidman wrote: I'm finding that smartindent is routinely wrong about how I want things to be indented in JS, but I haven't been able to find an indent script. I'd be interested in working on it myself, but I don't know the first thing about how the function referred to when setting indent