Mercurial > vim
view src/po/fixfilenames.vim @ 29203:10ef15731fa9
Added tag v8.2.5120 for changeset b6c284c1f09521e6e898fceb2b730a713e664553
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 Jun 2022 12:30:06 +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