[ale] Vim settings

Pete Hardie pete.hardie at gmail.com
Mon Feb 15 18:08:35 EST 2010


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


More information about the Ale mailing list