Heim  >  Fragen und Antworten  >  Hauptteil

Die Vim-Statusleiste zeigt den falschen Funktionsnamen an

Ich habe das Powerline-Plugin installiert. Beim Schreiben von PHP-Code wird in der Statusleiste der aktuelle Funktionsname angezeigt. Es liegt jedoch ein Problem vor. Weiß jemand, wie man es löst?

巴扎黑巴扎黑2712 Tage vor660

Antworte allen(1)Ich werde antworten

  • phpcn_u1582

    phpcn_u15822017-05-16 16:43:41

    Powerline会调用tagbar插件的currenttag来显示当前函数名。tagbar依赖ctags,但ctags对php支持不好;可以使用phpctags。

    Antwort
    0
  • StornierenAntwort