You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I want to add output of a function ( coc-symbol-line ) into the taline of airline.
I tried to read doc of airline, but I still fail to figure out how to do this.
I tried let g:airline#extensions#coc#enabled = 1, but the content of coc-symbol-line doesn't show.
In the README.md of "coc-symbol-line", it said just add %{%get(b:, "coc_symbol_line", "")%} to statusline/tabline. But I don't konw much of VimScript, so I don't know how to do it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I want to add output of a function ( coc-symbol-line ) into the taline of airline.
I tried to read doc of airline, but I still fail to figure out how to do this.
I tried
let g:airline#extensions#coc#enabled = 1
, but the content ofcoc-symbol-line
doesn't show.In the README.md of "coc-symbol-line", it said just add
%{%get(b:, "coc_symbol_line", "")%}
to statusline/tabline. But I don't konw much of VimScript, so I don't know how to do it.Could anyone help me ?
Beta Was this translation helpful? Give feedback.
All reactions