[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Vim settings



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