Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: 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