ctags.kak: remove -no-hooks from execute-keys

This commit is contained in:
Maxime Coste 2018-05-15 21:23:54 +10:00
parent 24d8a58b0d
commit a77710e098

View File

@ -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" %{ define-command ctags-funcinfo -docstring "Display ctags information about a selected function" %{
evaluate-commands -draft %{ evaluate-commands -draft %{
try %{ try %{
execute-keys -no-hooks '[(;B<a-k>[a-zA-Z_]+\(<ret><a-;>' execute-keys '[(;B<a-k>[a-zA-Z_]+\(<ret><a-;>'
evaluate-commands %sh{ evaluate-commands %sh{
sigs=$(readtags -e ${kak_selection%?} | grep kind:f | sed -re 's/^(\S+).*((class|struct|namespace):(\S+))?.*signature:(.*)$/\5 [\4::\1]/') sigs=$(readtags -e ${kak_selection%?} | grep kind:f | sed -re 's/^(\S+).*((class|struct|namespace):(\S+))?.*signature:(.*)$/\5 [\4::\1]/')
if [ -n "$sigs" ]; then if [ -n "$sigs" ]; then