Mercurial > vim
view src/po/fixfilenames.vim @ 24808:0bc60e26a2b5 v8.2.2942
patch 8.2.2942: Vim9: error when calling function with too few arguments
Commit: https://github.com/vim/vim/commit/8da6d6db340069b3307e6bce3cdd40441197efce
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 5 18:15:09 2021 +0200
patch 8.2.2942: Vim9: error when calling function with too few arguments
Problem: Vim9: internal error when calling function with too few arguments
Solution: Check for argument count to be too few. (closes https://github.com/vim/vim/issues/8325)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Jun 2021 18:30:03 +0200 |
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