Mercurial > vim
view src/po/fixfilenames.vim @ 32501:35fea638cd29 v9.0.1582
patch 9.0.1582: :stopinsert may not work in a popup close handler
Commit: https://github.com/vim/vim/commit/a40c0bcc83c32da02869f59b10538d6327df61c5
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat May 27 14:10:08 2023 +0100
patch 9.0.1582: :stopinsert may not work in a popup close handler
Problem: :stopinsert may not work in a popup close handler. (Ben Jackson)
Solution: Restore stop_insert_mode when appropriate. (closes https://github.com/vim/vim/issues/12452,
closes #12434)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 May 2023 15: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