Mercurial > vim
view src/po/fixfilenames.vim @ 32651:d1d7d489de7f v9.0.1657
patch 9.0.1657: one more syntax test depends on the system
Commit: https://github.com/vim/vim/commit/79186bee785081322c198f0074cb1f2d07764eb6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 24 01:35:51 2023 +0100
patch 9.0.1657: one more syntax test depends on the system
Problem: One more syntax test depends on the system.
Solution: Use "dash" instead of "sh".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Jun 2023 02:45: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