[Vimoutliner] _vimoutlinerrc not found under windows

Andy Wokula anwoku at yahoo.de
Thu Feb 14 13:37:44 EST 2008


Didier Bretin schrieb:
> On 13/02/2008 14:03, Didier Bretin wrote:
>> I don't understand what is wrong :(.
> 
> So I'm trying to debug.
> 
> When I do a gvim -V9log myfile.otl, I see relation to ftdetect/vo_base.vim
> but nothing about ftplugin/vo_base.vim. Is it the right behaviour ?
> 
> I join the log file I have under windows and the installation I made
> in the install.otl file. The $VIM is equal to "c:\program files\vim".
> 
> Can you send your log file when you do the same like me ? Under linux
> and windows if you can ?
> 
> Regards.

One problem is filetype detection:
   $VIMRUNTIME\filetype.vim
is sourced before
   ~\vimfiles\ftdetect\*.vim

ftdetect\vo_base.vim should only contain these lines:
   au! BufRead,BufNewFile *.otl	setfiletype vo_base
   au! BufRead,BufNewFile *.oln	setfiletype xoutliner 

The check for exists("did_load_filetypes") should be removed
from the file. Also the surrounding augroup command isn't needed.

BTW
   :h :scriptnames

-- 
Andy



More information about the VimOutliner mailing list