Mercurial > vim
view src/po/fixfilenames.vim @ 26903:5aa9e8db975c v8.2.3980
patch 8.2.3980: if 'operatorfunc' invokes an operator Visual mode is changed
Commit: https://github.com/vim/vim/commit/b3bd1d39e68e2d697c014b9f85482c2c12a3f909
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 2 13:05:45 2022 +0000
patch 8.2.3980: if 'operatorfunc' invokes an operator Visual mode is changed
Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
may be changed. (Naohiro Ono)
Solution: Save and restore the information for redoing the Visual area.
(closes #9455)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Jan 2022 14:15:03 +0100 |
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