view src/po/fixfilenames.vim @ 30956:ff798e6f4599 v9.0.0812

patch 9.0.0812: GUI mouse scrollwheel mappings don't work Commit: https://github.com/vim/vim/commit/7fa02bcb3b8011961995e617423a6f8f531b6e4d Author: Christopher Plewright <chris@createng.com> Date: Fri Oct 21 13:03:33 2022 +0100 patch 9.0.0812: GUI mouse scrollwheel mappings don't work Problem: GUI mouse scrollwheel mappings don't work. Solution: Add check for "gui.in_use". (Christopher Plewright, closes https://github.com/vim/vim/issues/11418)
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Oct 2022 14:15:04 +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