Mercurial > vim
view src/po/fixfilenames.vim @ 24599:8eda31c9b9e2
Added tag v8.2.2838 for changeset 6b85c09a4d73669457a997eac9a0364970f1e3d5
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 May 2021 18:00:04 +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