$ echo 'let g:test = "ftplugin/vim_01.vimm"' > ~/.vim/ftplugin/
vim_01.vimm
$ gvim -c "echo g:test" test.vim

When only the backup file remains in ~/.vim/ftplugin,
the backup file is sourced.
short file names "VIM_01~1.VIM" matches "test_*.vim".


$ echo 'let g:test = "test01.vimm"' > test01.vimm
$ gvim -u NONE -c "so test*.vim" -c "echo g:test"

short file names "TEST01~1.VIM" matches "test*.vim".

regards,
nanashi

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui