vim-airline

How can I display the function name in vim-airline?

时间秒杀一切 提交于 2020-01-03 13:35:49
问题 I'm using the ctags vim plugin to have the name of the current C function (=where the cursor is) displayed in the status line. Today I installed the vim-airline plugin. Fancy, but the C function name is no longer displayed in the status line. There is lots of room for more text. Is there a way to make ctags.vim and airline coexist or some other technique to show the function name somewhere in the status line like ctags does? I searched the :help airline for function but that did not answer my

How can I display the function name in vim-airline?

天大地大妈咪最大 提交于 2020-01-03 13:33:10
问题 I'm using the ctags vim plugin to have the name of the current C function (=where the cursor is) displayed in the status line. Today I installed the vim-airline plugin. Fancy, but the C function name is no longer displayed in the status line. There is lots of room for more text. Is there a way to make ctags.vim and airline coexist or some other technique to show the function name somewhere in the status line like ctags does? I searched the :help airline for function but that did not answer my

Customize airline tagbar extension to include current tags parent

一曲冷凌霜 提交于 2019-12-13 08:39:19
问题 The airline plugin has an extension which uses Tagbar to show the current function name. (I know this because of this question which I found via asking this question) This works really well and looks great. Here's airline showing me I'm editing the do_foo() function: But Tagbar knows much more than this! Specifically, it knows the current class (i.e. the parent of the current tag): (It does this using ctags) Is there a way to configure airline to tell me the current class as well as the