[Dune] [#2] Common code-formatting

Dune dune at dune-project.org
Wed Sep 30 21:21:50 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#2 - Common code-formatting
User who did this - Carsten Gräser (Carsten)

----------
@Jö: You have to activate modelines by typing ':set modeline<cr>' or 'set ml<cr>' in normal mode (the one that is active if you start vi or after pressing <esc>). If you want to activate this permanently put the line 'set modeline' in your .vimrc . You can also activate it only for files in certain directories using a combination of autocommands (see ':h au<cr>') and 'setlocal ml'. The later activates it only for the active buffer.

The posted version uses vi-compatible syntax. However, following the vim docs, (posix) vi does not know the 'et' and 'sts' options. But this should be no show stopper - or does anyone work with nvi, elvis or the busybox vi ?

@Elias: If you don't like vimscript you can use the perl/python/ruby interface.
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=2#comment1141

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list