Sunday, April 12, 2015

overriding statusline when using airline

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?

--
R. Mark Volkmann
Object Computing, Inc.

--
--
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: