Great that did it thank you :)

FYI I added the following in .vimrc :
autocmd BufRead,BufNewFile /tmp/riot-* set filetype=twiki

So now riot looks really cool!

Lobzang.


Quoting "Steven N. Severinghaus" <[EMAIL PROTECTED]>:

> Tuomo Valkonen said the following on 2008-01-17 09:59:
> > Hmm.. maybe vim supports providing this information on the command
> > line too? In that case all you'd have to do is set VISUAL for Riot
> > to something with the parameter set.
>
> Something along these lines:
>
> export VISUAL="vim +'set filetype=twiki'"
>
> > Or maybe you can configure vim to match against /tmp/riot-* for
> > twiki syntax?
>
> Something like this in your ~/.vimrc could work:
>
> autocmd BufRead,BufNewFile /tmp/riot-* setfiletype twiki
>
> Hope that helps,
> -Steve
>
> --
> Steven N. Severinghaus
> [EMAIL PROTECTED]
> http://severinghaus.org/
>


<<attachment: riot.png>>

Reply via email to