Updated plugins

This commit is contained in:
Amir committed 2021-05-05 10:25:00 +02:00
1 parent 8e54cbc92e
commit a7a471a207
265 files changed
+7773 -1880

No files matched your search

@@ -284,7 +284,7 @@ function! s:parse_subvert(bang,line1,line2,count,args)
else
let args = a:args
endif
let separator = matchstr(args,'^.')
let separator = '\v((\\)@<!(\\\\)*\\)@<!' . matchstr(args,'^.')
let split = split(args,separator,1)[1:]
if a:count || split == [""]
return s:parse_substitute(a:bang,a:line1,a:line2,a:count,split)
@@ -399,6 +399,8 @@ function! s:grep_command(args,bang,flags,word)
let dict = s:create_dictionary(a:word,"",opts)
if &grepprg == "internal"
let lhs = "'".s:pattern(dict,opts.boundaries)."'"
elseif &grepprg =~# '^rg\|^ag'
let lhs = "'".s:egrep_pattern(dict,opts.boundaries)."'"
else
let lhs = "-E '".s:egrep_pattern(dict,opts.boundaries)."'"
endif