view src/po/fixfilenames.vim @ 31388:1ff377bc0726 v9.0.1027

patch 9.0.1027: LGTM is soon shutting down Commit: https://github.com/vim/vim/commit/647b8dfa7f6300df833b4e5e2a38a4cdfa7de3fc Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Wed Dec 7 23:00:26 2022 +0000 patch 9.0.1027: LGTM is soon shutting down Problem: LGTM is soon shutting down. Solution: Remove LGTM from CI. (closes https://github.com/vim/vim/issues/11671)
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Dec 2022 00:15:02 +0100
parents aa91480771fe
children 04563887d70e
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