[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | David Allsopp <dra-news@m...> |
| Subject: | RE: [Caml-list] vim OCaml-syntax: wrong indentation... |
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