diff --git a/rc/base/ctags.kak b/rc/base/ctags.kak index bfdefe21..50b73233 100644 --- a/rc/base/ctags.kak +++ b/rc/base/ctags.kak @@ -57,7 +57,7 @@ define-command ctags-complete -docstring "Insert completion candidates for the c define-command ctags-funcinfo -docstring "Display ctags information about a selected function" %{ evaluate-commands -draft %{ try %{ - execute-keys -no-hooks '[(;B[a-zA-Z_]+\(' + execute-keys '[(;B[a-zA-Z_]+\(' evaluate-commands %sh{ sigs=$(readtags -e ${kak_selection%?} | grep kind:f | sed -re 's/^(\S+).*((class|struct|namespace):(\S+))?.*signature:(.*)$/\5 [\4::\1]/') if [ -n "$sigs" ]; then