mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +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;
|
||||
} else {
|
||||
# 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>) {
|
||||
unless (/^\!/) {
|
||||
|
||||
Reference in New Issue
Block a user