Mercurial > vim
view src/po/fixfilenames.vim @ 29235:fbcbc953c2ec
Added tag v8.2.5136 for changeset 96ff6c230a66c0b91cb6b1aebbb3869cb5fb0414
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Jun 2022 21:15: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