1
0
Fork 0

Merge pull request #67 from Bownairo/tags

Pass custom file to readtags
This commit is contained in:
Andrey Orst 2019-09-04 08:10:28 +03:00 committed by GitHub
commit ed81b70619
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -808,9 +808,9 @@ define-command -hidden fzf-tag -params ..2 %{ evaluate-commands %sh{
fi
if [ -n "$1" ]; then
cmd="cd $path; readtags -Q '(eq? \$kind \"$1\")' -l | cut -f1"
cmd="cd $path; readtags -t $kak_opt_fzf_tag_file_name -Q '(eq? \$kind \"$1\")' -l | cut -f1"
else
cmd="cd $path; readtags -l | cut -f1"
cmd="cd $path; readtags -t $kak_opt_fzf_tag_file_name -l | cut -f1"
fi
message="Jump to a symbol''s definition