> Did you execute :syntax enable ?
Yes, didn't help :(
> Could you post your .vimrc and the output of :scriptnames ?
a) my .vimrc :
---------------------------------------
set runtimepath=/usr/share/vim/vim72
if &term =~ "xterm-color"
if has("terminfo")
set t_Co=8
set t_Sf=
et t_Sb=
lse
set t_Co=8
set t_Sf=
et t_Sb=
ndif
endif
set number
set title
set background=dark
syntax on
syntax enable
---------------------------------------
b) output of :scriptnames :
1: /etc/vimrc
2: /usr/share/vim/vim72/syntax/syntax.vim
3: /usr/share/vim/vim72/filetype.vim
4: /home/kutka/.vimrc
Dennis Benzinger wrote / napísal(a):
> Am 12.10.2009 11:42, Alexander Kutka schrieb:
>> Hi there,
>>
>> I am connecting through putty to a linux server, where I'd like to use
>> vim and its syntax highlight. However, I cannot figure out, why it
>> doesn't work for me.
>>
>> I googled for an hour by now, read all similar forum posts and read all
>> through
>> http://vimdoc.sourceforge.net/htmldoc/usr_06.html#06.1
>> and
>> http://vimdoc.sourceforge.net/htmldoc/syntax.html#xterm-color
>>
>> Tried (almost) everythnig describe there, but still no effect.
>>
>> Some helpful info:
>> - When I type "ls" (in bash), I see colored results (directories,
>> symlinks, etc.)
>> - filetype is correctly detected (typing :set filetype prints out
>> correctly "filetype=perl"
>> - when I type ":hi Normal ctermfg=green", all text is green
>> - when I type ":hi Comment ctermfg=Cyan", nothnig happens.
>> - when I type ":syntax" (in Vim), it says "No Syntax items defined for
>> this buffer"
>>
>> Probably the parser would't work well? Doesn't recognize perl comments
>> and other structures (functions, variables, ...)? Just an idea, don't
>> have a clue, what the reason is.
>>
>> Has somebody some idea please?
>> [...]
>
> Did you execute :syntax enable ?
> Could you post your .vimrc and the output of :scriptnames ?
>
>
> Regards,
> Dennis Benzinger
>
> >
>
--
S prianim pekneho dna
Alex Kutka
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---