Mercurial > vim
view src/po/fixfilenames.vim @ 31630:5400eba7c3f3 v9.0.1147
patch 9.0.1147: cannot access a class member in a compiled function
Commit: https://github.com/vim/vim/commit/3259ff3b3bd152d61c1cef7901023034c0d655a3
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 4 18:54:09 2023 +0000
patch 9.0.1147: cannot access a class member in a compiled function
Problem: Cannot access a class member in a compiled function.
Solution: Implement looking up a class member.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Jan 2023 20:00:04 +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