Thursday, January 21, 2010

syntax highlighting broken!

I'm trying to get syntax highlighting working, and it works for one
user, but is broken for another user on the same server. This is what
is showing for the one that is not working (an excerpt from
my .vimrc):

p1804397728mset p1804397728mruler p1804397728m" show the cursor
position all the time
p1804396464mset p1804396464mshowcmd p1804396464m" display
incomplete commands

This is on an AIX server running vim 6.0 (old, I know) and I'm using
the xterm terminal with ansi colors.

As far as I can tell, there is no difference in the local vim setup
for the user that works vs the user that doesn't.

This is the .vimrc for both users:

set ruler " show the cursor position all the time
set showcmd " display incomplete commands

:if &term =~ "xterm"
: if has("terminfo")
: set t_Co=8
: set t_Sf=^[[3%p1%dm
: set t_Sb=^[[4%p1%dm
: else
: set t_Co=8
: set t_Sf=^[[3%dm
: set t_Sb=^[[4%dm
: endif
:endif

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: