Hum... That did not seem to work...

--- Yegappan Lakshmanan <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> On 6/2/06, Jeff Lanzarotta <[EMAIL PROTECTED]> wrote:
> >
> > --- Yegappan Lakshmanan <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > >
> > > On 6/2/06, Jeff Lanzarotta <[EMAIL PROTECTED]> wrote:
> > > > Hello,
> > > >
> > > > I have a Java indenting questions.
> > > >
> > > > When editing C code if I have something like:
> > > >
> > > > void function(int x, int y
> > > >               int z)
> > > >
> > > > The second line of the declaration indents automatically, right
> > > under
> > > > the first parameter, after pressing <enter> after the 'y'.
> > > >
> > > > How can I get this to happen when I am writing Java code?
> > > >
> > >
> > > Did you try adding (0 to 'cinoptions'?
> > >
> > >    setlocal cinoptions+=(0
> > >
> >
> > Were to I put this command at? In a java.vim file in one of the
> > directory under the vimfiles directory?
> >
> 
> For Unix-like systems, add the above line to the the following
> file:
> 
>    ~/.vim/after/indent/java.vim
> 
> For MS-Windows systems, use one of the following files:
> 
>     $HOME/vimfiles/after/indent/java.vim
> or
>     $VIM/vimfiles/after/indent/java.vim
> 
> - Yegappan
> 

Reply via email to