Mercurial > vim
view src/po/tojavascript.vim @ 29898:3276298c67c5 v9.0.0287
patch 9.0.0287: Irix systems no longer exist
Commit: https://github.com/vim/vim/commit/aebc6ef7cdc5d4d0627a711ff66e6fe8d67f9d87
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Aug 27 21:24:26 2022 +0100
patch 9.0.0287: Irix systems no longer exist
Problem: Irix systems no longer exist.
Solution: Remove references to Irix. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/10994)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Aug 2022 22:30:03 +0200 |
parents | 52e970719f4b |
children | 7296f4ef3ead |
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. " Javascript is used because, like Vim, it accepts both single and double " quoted strings. set shortmess+=A for name in argv()[1:] exe 'edit ' .. fnameescape(name) " Strip comments g/^\s*"/s/.*// " Write as .js file, xgettext recognizes them exe 'w! ' .. fnamemodify(name, ":t:r") .. ".js" endfor quit