view src/po/fixfilenames.vim @ 24788:b36ceac30454 v8.2.2932

patch 8.2.2932: select mode test fails Commit: https://github.com/vim/vim/commit/4f3c57f7980592b25f483e5953799c010a8ae196 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 3 22:11:08 2021 +0200 patch 8.2.2932: select mode test fails Problem: Select mode test fails. Solution: Do not always reset the held mouse button.
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Jun 2021 22:15:02 +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