Test contains error: +: let tab_changed = 0
Here variable is named `tab_changed` (and this is the name checked later) +: let mod = ":t" +: if a:tab > 0 && a:tab != tabpagenr() +: let tab_change = 1 But here it is `tab_change`. +: exec "tabnext " . a:tab +: endif +: let bufname = fnamemodify(bufname(winbufnr(a:win)), mod) +: if tab_changed +: tabprevious +: endif 2015-11-15 16:25 GMT+03:00 thinca <[email protected]>: > Hi Bram and list, > > I want to get the window local cwd(set by :lcd). > So I wrote a patch. > > https://gist.github.com/thinca/9e705a090a56649e7160 > > And Hirohito Higashi (a.k.a h_east) wrote a test (Thanks!) > > https://gist.github.com/h-east/6019b1c8b3a84a67d547 > > Regards, > -- > thinca <[email protected]> > > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
