Hi, Yegappan, by the same token there is "file type variable' missing, too. Something like f:xyz that would be set for all files (buffers) with the same file type). I was always amazed that vim is so much filetype-oriented (indenting, color highlight,... depend on file type) but we don't have a way to specify variable related to the file type.
Wouldn't it be the similar (or close enough) work to do as for the t:xyz? Best regards, ---Zdenek > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Yegappan Lakshmanan > Sent: 12 June 2008 09:17 > To: [email protected] > Subject: Patch to support setting tab page variables > > Hi all, > > Currently we don't have a function to get or set tab page variables > (t:xyz). > To set or get a tab page variable, you have to switch to that tab and > then > set/get the variable. > > The attached patch against Vim7.1.314 adds the gettabvar() and > settabvar() functions to get or set a tab page variable. These > functions > are similar to the existing getwinvar(), setwinvar(), getbufvar() and > setbufvar() functions. > > This patch is in the todo list for more than a year. If enough people > try this patch out and are interested in using these functions, then > this might get included in Vim 7.2 (?) > > - Yegappan > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
