Currently running:

    VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep  1 2012 18:08:47)
    MacOS X (unix) version
    Included patches: 1-646
    Compiled by Bjorn Winckler <[email protected]>

I have these lines in my .vimrc

    if has("gui_macvim")
      source ~/.vim/vimrc/mygfuncs.vim
    endif

In the mygfuncs file are some functions that set the `guitablabel` and
`guitabtooltip` based on two custom functions. The file is being
sourced (because the functions are defined), but the lines that set
those variables using those functions aren't working:

    set guitabtooltip=%{GuiTabToolTip()}
    set guitablabel=%{GuiTabLabel()}

At this point, the variables are set properly, because if I

    :set guitabtooltip

Vim responds with

    guitabtooltip=%{GuiTabToolTip()}

But it isn't actually being applied.

**But** if I then `:so ~/.vimrc`, the tab label and tooltips *are* applied.

What is going on here?

c
--
Chris Lott <[email protected]>

-- 
You received this message from the "vim_use" 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

Reply via email to