view src/po/fixfilenames.vim @ 24588:826ba03d0d22 v8.2.2833

patch 8.2.2833: two key command cancelled by moving mouse when using popup Commit: https://github.com/vim/vim/commit/3a00659db740ebcf0be6153b47a5734eea4a18ba Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 5 19:58:17 2021 +0200 patch 8.2.2833: two key command cancelled by moving mouse when using popup Problem: Two key command cancelled by moving mouse when using popup. (Sergey Vlasov) Solution: Ignore K_MOUSEMOVE in plain_vgetc().
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 May 2021 20:00:07 +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