Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite17c49c

Browse files
author
skywind3000
committed
improve compatibility of vim-9.1.1232
1 parent940ed43 commite17c49c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎plugin/asyncrun.vim‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: skywind3000 (at) gmail.com, 2016-2024
44
" Homepage: https://github.com/skywind3000/asyncrun.vim
55
"
6-
" Last Modified: 2025/03/24 10:40:26
6+
" Last Modified: 2025/03/24 10:50:34
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -979,10 +979,7 @@ endfunc
979979
" Replace string
980980
function!s:StringReplace(text, old,new)
981981
letl:data=split(a:text,a:old,1)
982-
iftype(a:new)==1
983-
returnjoin(l:data,a:new)
984-
endif
985-
returnjoin(l:data,string(a:new))
982+
returnjoin(data, (type(a:new)==1)?a:new :string(a:new))
986983
endfunc
987984

988985
" Trim leading and tailing spaces
@@ -2344,7 +2341,7 @@ endfunc
23442341
" asyncrun - version
23452342
"----------------------------------------------------------------------
23462343
function!asyncrun#version()
2347-
return'2.13.3'
2344+
return'2.13.4'
23482345
endfunc
23492346

23502347

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp