caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oliver Bandel <oliver@first.in-berlin.de>
To: caml-list@inria.fr
Subject: vim OCaml-syntax: wrong indentation...
Date: Wed, 24 Dec 2008 02:23:55 +0100	[thread overview]
Message-ID: <1230081835.49518f2b6e335@webmail.in-berlin.de> (raw)

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


             reply	other threads:[~2008-12-24  1:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-24  1:23 Oliver Bandel [this message]
2008-12-24 10:11 ` [Caml-list] " David Allsopp

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=1230081835.49518f2b6e335@webmail.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).