Hi, Christian I should state the purpose in the original post. What I was trying to do is to tell the difference between location list and quick fix and make a local powerline theme for each of them. But I can not find the way to differentiate quick fix window from location list.
Thanks. Cheers, Zhao On May 14, 2013, at 7:16 AM, Christian Brabandt <[email protected]> wrote: > Hi Zhao! > > On So, 12 Mai 2013, Zhao Cai wrote: > >> Hello, :) >> >> `bufname('%')` for quickfix, location list and preview window are empty in >> my environment( MacVim ). Is it a bug? or by design? Do you have the same >> issue? or just me? > > Of course. The quickfix, location list and preview windows don't have > names, unless you give them one (:h :file_f). But you usually don't need > that. > > The main question is, why do you think you need the buffer name of a > special window? So what problem are you really trying to solve? > > regards, > Christian > -- > Jede Generation lacht über Moden, aber folgt den neuen treu. > -- Henry David Thoreau > > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" 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/groups/opt_out. > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" 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/groups/opt_out.
