Pass custom file to readtags
When fzf_tag_file_name is passed, it needs to be passed to readtags, too.
This commit is contained in:
parent
ede90d3e02
commit
ef7902395e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue