English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
vim OCaml-syntax: wrong indentation...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-12-24 (01:23)
From: Oliver Bandel <oliver@f...>
Subject: vim OCaml-syntax: wrong indentation...

in some cases, when switching on the syntax in vim
on an ocaml-file, the indentation is not as I configured in my

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?