ctags.kak: fix zc changed to vc

This commit is contained in:
Maxime Coste 2013-04-17 19:15:34 +02:00
parent 8d83a5ff9e
commit 0a8f51bddd

View File

@ -13,7 +13,7 @@ def -shell-params \
echo "echo tag not found ${tagname}" echo "echo tag not found ${tagname}"
else else
menuparam=$(readtags ${tagname} | perl -i -ne ' menuparam=$(readtags ${tagname} | perl -i -ne '
/([^\t]+)\t([^\t]+)\t\/\^([^{}]*).*\$\// and print "%{$2 [$3]} %{try %{ edit %{$2}; exec %{/\\Q$3<ret>zc} } catch %{ echo %{unable to find tag} } } "; /([^\t]+)\t([^\t]+)\t\/\^([^{}]*).*\$\// and print "%{$2 [$3]} %{try %{ edit %{$2}; exec %{/\\Q$3<ret>vc} } catch %{ echo %{unable to find tag} } } ";
/([^\t]+)\t([^\t]+)\t(\d+)/ and print "%{$2:$3} %{edit %{$2} %{$3}}"; /([^\t]+)\t([^\t]+)\t(\d+)/ and print "%{$2:$3} %{edit %{$2} %{$3}}";
') ')