mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
committed by
Junegunn Choi
parent
fbfbd04870
commit
b51382fe9e
@@ -18,7 +18,11 @@ end
|
||||
|
||||
usage if ARGV.empty?
|
||||
|
||||
file, center = ARGV.first.split(':')
|
||||
file, center, extra = ARGV.first.split(':')
|
||||
if ARGV.first =~ /^[A-Z]:\\/
|
||||
file << ':' + center
|
||||
center = extra
|
||||
end
|
||||
usage unless file
|
||||
|
||||
path = File.expand_path(file)
|
||||
|
||||
Reference in New Issue
Block a user