From: "David Allsopp" <dra-news@metastack.com>
To: "'Oliver Bandel'" <oliver@first.in-berlin.de>, <caml-list@inria.fr>
Subject: RE: [Caml-list] vim OCaml-syntax: wrong indentation...
Date: Wed, 24 Dec 2008 10:11:46 -0000 [thread overview]
Message-ID: <007901c965b0$0ab19730$2014c590$@com> (raw)
In-Reply-To: <1230081835.49518f2b6e335@webmail.in-berlin.de>
C:\>head -10 c:\vim\vim72\indent\ocaml.vim
" Vim indent file
" Language: OCaml
" Maintainers: Jean-Francois Yuen <jfyuen@happycoders.org>
" Mike Leary <leary@nwlink.com>
" Markus Mottl <markus.mottl@gmail.com>
" URL: http://www.ocaml.info/vim/indent/ocaml.vim
" Last Change: 2005 Jun 25 - Fixed multiple bugs due to 'else\nreturn ind'
working
" 2005 May 09 - Added an option to not indent OCaml-indents
specially (MM)
" 2005 Apr 11 - Fixed an indentation bug concerning "let" (MM)
HTH,
David
> -----Original Message-----
> From: caml-list-bounces@yquem.inria.fr [mailto:caml-list-
> bounces@yquem.inria.fr] On Behalf Of Oliver Bandel
> Sent: 24 December 2008 01:24
> To: caml-list@inria.fr
> Subject: [Caml-list] vim OCaml-syntax: wrong indentation...
>
> Hello,
>
> in some cases, when switching on the syntax in vim
> on an ocaml-file, the indentation is not as I configured in my
> .vimrc-file.
>
> Some of the options I have set:
>
> set expandtab
> set sw=2
> set tabstop=2
> set ai
>
>
> in some regions the indentation by tab is two spaces,
> in others it's just one.
> When switching off syntax, then indentation is always
> two spaces. So this looks like a bug.
> can't believe that this is a feature.
>
> Is here someone on the list, who knows about this and
> maybe also is in the vim-developers team, so that it can
> be fixed?
>
> Ciao,
> Oliver
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
prev parent reply other threads:[~2008-12-24 10:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-24 1:23 Oliver Bandel
2008-12-24 10:11 ` David Allsopp [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='007901c965b0$0ab19730$2014c590$@com' \
--to=dra-news@metastack.com \
--cc=caml-list@inria.fr \
--cc=oliver@first.in-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox