Mercurial > vim
view runtime/keymap/hebrew.vim @ 16032:831f9e74eded v8.1.1021
patch 8.1.1021: pyeval() and py3eval() leak memory
commit https://github.com/vim/vim/commit/8e9a24a127c4ef8833fdc3986623f96c7d04210f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 19 22:22:55 2019 +0100
patch 8.1.1021: pyeval() and py3eval() leak memory
Problem: pyeval() and py3eval() leak memory.
Solution: Do not increase the reference count twice. (Ozaki Kiichi,
closes #4129)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 19 Mar 2019 22:30:05 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-8' else let encoding = 'cp1255' endif endif if encoding == 'utf-8' source <sfile>:p:h/hebrew_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrew_cp1255.vim else source <sfile>:p:h/hebrew_iso-8859-8.vim endif