On Thu 6. July 2006 15:00, you wrote:
> Is
> hi BT1 guifg=darkgreen ctermfg=darkgreen
> sufficient to put in there, or would some fancier syntax be
> better?
I believe it should be OK. Remember KISS principle! :-)
> I notice the new system vimoutlinerrc seems to be
> using some indirect variable setting syntax that I don't
> understand (let g:xxx = yyyy).
Don't bother with g:vo_modules_load that much (but use them!).
The issue was how to allow global configuration of loaded
modules, when actual ru! commands can be issued only after main
vo_base.vim is loaded (which is automatically made with
~/.vimoutlinerrc). Corresponding piece of code, which makes this
working is this (it is kind of hairy, but I think you can read
it):
" More sophisticated version of the modules loading; thanks to
" Preben 'Peppe' Guldberg for telling me how to split string and
" make semi-lists with vim.
" - Matej Cepl
let tmp = g:vo_modules_load . ':'
let idx = stridx(tmp, ':')
while (idx != -1)
let part = strpart(tmp, 0, idx)
let tmp = strpart(tmp, idx + 1)
let idx = stridx(tmp, ':')
exec "runtime! ftplugin/vo_" . part . ".vim"
endwhile
Conclusion, this is just one hack, which doesn't change behavior
of the rest of the system.
Greetings to San Francisco (I graduated with LLM from the other
hill in front of you -- USF Law School -- in 1997).
Best,
Matěj
--
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
http://www.ceplovi.cz/matej/blog/, Jabber: [EMAIL PROTECTED]
23 Marion St. #3, (617) 876-1259, ICQ 132822213
But if we find we have left our bones to bleach in these desert
sands for nothing, beware the fury of the legions...
-- Centurion in a letter home from North Africa
3rd Century