blob: 65d448ce419c250676c88eb579fbc289c2b20565 [file] [log] [blame]
Bram Moolenaar0b39c3f2020-08-30 15:52:10 +02001" Invoked with the name "vim.pot" and a list of Vim script names.
2" Converts them to a .js file, stripping comments, so that xgettext works.
3
4set shortmess+=A
5
6for name in argv()[1:]
7 let jsname = fnamemodify(name, ":t:r") .. ".js"
8 exe "%s+" .. jsname .. "+" .. name .. "+"
9endfor
10
11write
12last
13quit