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/

Reply via email to