Hi Zhao!
On Di, 14 Mai 2013, Zhao Cai wrote:
> 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.
Ah, I see the problem. The statusline for Quickfix Buffers contains '%t'
which according to the help should output the buffer name, but the
buffer name for quickfix and location lists is empty. That is, Vim
treats those buffers special and in case of location and quickfix lists
returns location list/quickfix list instead of the buffer name.
Anyway, I am not aware of any option you can check to differentiate
between quickfix and location lists. You could try to check the
w:quickfix_title variable, it could give a clue.
regards,
Christian
--
Die Keuschheit wohnt weder in den obern noch untern Ständen - sondern
in den mittlern.
-- Jean Paul
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment