> of course there is a workaround (which I applied), by defining
> autocommands, that would change the
> statusline depending the buffer type you enter. But that is less
I was wrong... I have no event that would be triggered when I change
buffer... or am I wrong?
I was thinking to define sthg like
set statusline=%{GetStatusLine()}
and define a sort of polymorfic behaviour for different filetypes...
I tried to define the GetStatusLine() in the ftplugin/XXX.vim,
however the default (from my .vimrc) GetStatusLine() implementation is called.
Well this is a more general question... is it possible to implement
some polymorfism, that
is different filetypes would implement there own way some functions, etc?
--
rgrds,
mobi phil
being mobile, but including technology
http://mobiphil.com
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---