Mercurial > vim
view runtime/keymap/greek.vim @ 25630:c26eb08a0df2 v8.2.3351
patch 8.2.3351: Vim9: using a function by name may delete it
Commit: https://github.com/vim/vim/commit/b033ee2ddfa8513b57111a56d6af9e45c41f7d1e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 15 16:08:36 2021 +0200
patch 8.2.3351: Vim9: using a function by name may delete it
Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
Solution: Increment the reference count when using a function by name.
(closes #8760)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 Aug 2021 16:15:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
" Assume 'encoding' is set to "latin1" while actually cp1253 or iso-8859-7 is " being used if has("win16") || has("win32") || has("win32unix") source <sfile>:p:h/greek_cp1253.vim else source <sfile>:p:h/greek_iso-8859-7.vim endif