view src/po/fixfilenames.vim @ 29585:e357bc89bb95 v9.0.0133

patch 9.0.0133: virtual text after line moves to joined line Commit: https://github.com/vim/vim/commit/e175dc6911948bcd0c854876b534fee62fb95b9f Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 1 22:18:50 2022 +0100 patch 9.0.0133: virtual text after line moves to joined line Problem: Virtual text after line moves to joined line. (Yegappan Lakshmanan) Solution: When joining lines only keep virtual text after the last line.
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Aug 2022 23:30:03 +0200
parents aa91480771fe
children
line wrap: on
line source

" Invoked with the name "vim.pot" and a list of Vim script names.
" Converts them to a .js file, stripping comments, so that xgettext works.

set shortmess+=A

for name in argv()[1:]
  let jsname = fnamemodify(name, ":t:r") .. ".js"
  exe "%s+" .. jsname .. "+" .. substitute(name, '\\', '/', 'g') .. "+"
endfor

write
last
quit