Mercurial > vim
view src/po/fixfilenames.vim @ 23164:99ef85ff1af4
Update runtime files.
Commit: https://github.com/vim/vim/commit/1b884a0053982335f644eec6c71027706bf3c522
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 10 21:11:27 2020 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Dec 2020 21:15:05 +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