Mercurial > vim
view src/po/fixfilenames.vim @ 29830:b5bd6521f417 v9.0.0254
patch 9.0.0254: typo in function name
Commit: https://github.com/vim/vim/commit/5fb3aabc2b0edd5573e107bb3bc103c348771f61
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Aug 24 16:48:23 2022 +0100
patch 9.0.0254: typo in function name
Problem: Typo in function name.
Solution: Rename the function. (closes https://github.com/vim/vim/issues/10971)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Aug 2022 18:00:05 +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