Mercurial > vim
view src/po/tojavascript.vim @ 32464:f2138180c6f0
patch 9.0.1563: GTK3: window manager resize hints are incomplete
Commit: https://github.com/vim/vim/commit/c0da540466c89e388e7a15a12bab2f9fc42d9671
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 16 22:15:51 2023 +0100
patch 9.0.1563: GTK3: window manager resize hints are incomplete
Problem: GTK3: window manager resize hints are incomplete.
Solution: Use NULL for second argument of gtk_window_set_geometry_hints().
(Kenny Stauffer closes #11055)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 May 2023 00:00:04 +0200 |
parents | 7296f4ef3ead |
children | 448aef880252 |
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. " Javascript is used because, like Vim, it accepts both single and double " quoted strings. set shortmess+=A for name in argv()[1:] exe 'edit ' .. fnameescape(name) " Strip comments, also after :set commands. g/^\s*"/s/.*// g/^\s*set .*"/s/.*// " Write as .js file, xgettext recognizes them exe 'w! ' .. fnamemodify(name, ":t:r") .. ".js" endfor quit