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

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

Reply via email to