Kana Natsuno 写道:
> 
> autoload/framework.vim:
>   function! framework#get_parameter_x()
>     return s:parameter_x
>   endfunction
> 
> plugin/engine_x.vim:
>   call framework#set_parameter_x('...')
>   call framework#_call_internal_stuff()
> 
> Did you consider about this way?  If so, why do you reject it?

This does work, But it considered tedious.

Consider: if all you want is to split an already too long script into 
two, how much "s:" do you need to change? isn't there some similiar 
feature like "include foobar.vim"? i.e. source some script completely 
inside my own script-local namespace?





--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to