Commits

ZyX_I  committed 7180f22

tests: Fixed maps-record-undo for old vims

  • Participants
  • Parent commits f17bd39

Comments (0)

Files changed (1)

File test/maps-record-undo.in

 :endfunction
 :command -nargs=1 -bar RZ   :call WriteFile([<q-args>]+getline(1, '$'))
 :command -nargs=1 -bar RZC  :RZ <args> | bwipeout!
-:command -nargs=1 -bar WG   :call WriteFile(join(glob(<q-args>, 1, 1)))
+:command -nargs=1 -bar WG   :call WriteFile(tr(glob(<q-args>, 1), "\n", ' '))
 :command -nargs=1 -bar WF   :call WriteFile(<q-args>.':'.string(GetFirstLastLine(<q-args>)))
 :command -nargs=1 -bar WGF  :WG * | WF <args>
 :command -nargs=* -bar WGFs :WG * | for file in [<f-args>] | execute 'WF' file | endfor