Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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?