vim q
Shlomi Fish
shlomif at iglu.org.il
Tue Nov 9 10:46:48 IST 2010
On Tuesday 09 November 2010 10:13:26 Erez D wrote:
> the following line:
> // vim: ts=2 sw=2 et
>
> seems to work under windows in gvim, but not in linux (at least not under
> vim over xterm).
>
> how can i change the syntax to make it work in all of linux/windows/cygwin
> in gvim and vim/xterm ?
This line worked fine for me in a test.cpp file with console vim. tabstop and
shiftwidth were both set to 2. See what Jonathan said.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Why I Love Perl - http://shlom.in/joy-of-perl
<rindolf> She's a hot chick. But she smokes.
<go|dfish> She can smoke as long as she's smokin'.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
More information about the Linux-il
mailing list