[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Vim settings
- Subject: [ale] Vim settings
- From: pete.hardie at gmail.com (Pete Hardie)
- Date: Mon, 15 Feb 2010 18:08:35 -0500
- In-reply-to: <1266274644.11793.49.camel@cfowler-desktop>
- References: <1266274644.11793.49.camel@cfowler-desktop>
On Mon, Feb 15, 2010 at 17:57, Chris Fowler <cfowler at outpostsentinel.com> wrote:
> Can someone tell me the correct setting in /etc/vimrc to add so that vim
> respects commands that are in remarks?
>
> At the bottom of my files I like to use # set vi: ts=2 sw=2: #
> This works under CentOS but Ubuntu ignores these.
googling "vim modeline" and I see examples that imply that the format
much match the correct commenting
standard for the programming language
// set vi:ts=2
for C++
/* set vi...*/
for C, etc
--
Pete Hardie
--------
Better Living Through Bitmaps