search

Home  >  Q&A  >  body text

Vim status bar shows wrong function name

I installed the Powerline plug-in. When writing PHP code, the status bar will display the current function name; but there is a problem and it is not accurate. Does anyone know how to solve it?

巴扎黑巴扎黑2743 days ago681

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-16 16:43:41

    Powerline will call the currenttag of the tagbar plug-in to display the current function name. tagbar relies on ctags, but ctags does not support php well; you can use phpctags.

    reply
    0
  • Cancelreply