Monday, April 13, 2015

Re: overriding statusline when using airline

Am 2015-04-13 02:06, schrieb Mark Volkmann:
> I use the airline plugin to set my statusline.
> I'm writing a custom plugin that changes the statusline for a specific
> filetype "foo".
> I do that in ftplugin/foo.vim with the following line:
>
> setlocal statusline=test
>
> I also have the appropriate ftdetect/foo.vim setup to recognize the
> filetype.
>
> When I open a .foo file, the statusline doesn't display "test".
> However, if I remove the airline plugin then it works.
>
> Is there something I can do to make my custom plugin coexist with the
> airline plugin?

Recent airline plugins support to disable the statusline for selected
windows. You need to set the w:airline_disabled variable for the windows
you want to manage manually.

Best,
Christian

--
--
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/d/optout.

No comments:

Post a Comment