mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-07 21:24:40 +08:00
[Tags] Add '-' argument to readtags to split options and the search string
This commit is contained in:
@@ -10,7 +10,7 @@ foreach my $file (@ARGV) {
|
|||||||
open $lines, $file;
|
open $lines, $file;
|
||||||
} else {
|
} else {
|
||||||
# https://perldoc.perl.org/perlopentut#Expressing-the-command-as-a-list
|
# https://perldoc.perl.org/perlopentut#Expressing-the-command-as-a-list
|
||||||
open $lines, '-|', 'readtags', '-t', $file, '-e', '-p', $prefix;
|
open $lines, '-|', 'readtags', '-t', $file, '-e', '-p', '-', $prefix;
|
||||||
}
|
}
|
||||||
while (<$lines>) {
|
while (<$lines>) {
|
||||||
unless (/^\!/) {
|
unless (/^\!/) {
|
||||||
|
|||||||
Reference in New Issue
Block a user