• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión7246692f51a344ef7fac4f173e9e37a0cce90436 (tree)
Tiempo2023-05-04 17:21:09
Autorbadcoff33 <none@none>
Commiterbadcoff33

Log Message

fixed Rg with backslash

Cambiar Resumen

Diferencia incremental

--- a/autoload/run.vim
+++ b/autoload/run.vim
@@ -4,6 +4,7 @@ g:run_dict = []
44 g:run_popup_line_min = 2
55 g:run_popup_line_max = 6
66 g:run_popup_line = g:run_popup_line_min
7+g:run_be_verbose = false
78
89 def g:Winopts(): dict<any>
910 var d = { pos: "botright",
@@ -206,6 +207,12 @@ export def RunStart(dict: dict<any>): job
206207 return null_job
207208 endif
208209
210+ if g:run_be_verbose == true
211+ for k in keys(dict)
212+ echo "run dict:" k "=" dict[k]
213+ endfor
214+ endif
215+
209216 ConditionalWriteAll(dict)
210217
211218 # act like :make
@@ -227,7 +234,7 @@ def StartBackground(dict: dict<any>): job
227234
228235 job_opts.cwd = has_key(dict, "cwd") ? dict.cwd : getcwd()
229236 job_opts.err_cb = function("run#BackgroundErrorCb")
230- v_job = job_start("cmd /C " .. escape(dict.cmd, '\'), job_opts)
237+ v_job = job_start("cmd /C " .. dict.cmd, job_opts)
231238
232239 return v_job
233240 enddef
@@ -267,7 +274,7 @@ def StartBuffered(dict: dict<any>): job
267274 g:Winopts())
268275 endif
269276
270- run_dict_entry.job = job_start("cmd /C " .. escape(dict.cmd, '\'), job_opts)
277+ run_dict_entry.job = job_start("cmd /C " .. dict.cmd, job_opts)
271278 run_dict_entry.channel = split(string(job_getchannel(run_dict_entry.job)), " ")[1]
272279
273280 add(g:run_dict, run_dict_entry)