Mercurial > vim
view runtime/keymap/accents.vim @ 33488:0081ca43bee9 v9.0.1995
patch 9.0.1995: Invalid memory access with empty 'foldexpr'
Commit: https://github.com/vim/vim/commit/a991ce9c083bb8c02b1b1ec34ed35728197050f3
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Oct 6 19:16:36 2023 +0200
patch 9.0.1995: Invalid memory access with empty 'foldexpr'
Problem: Invalid memory access when 'foldexpr' returns empty string.
Solution: Check for NUL.
closes: #13293
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 06 Oct 2023 19:30:07 +0200 |
parents | 71cbad0921c9 |
children |
line wrap: on
line source
" Vim Keymap file for latin1 accents through dead characters " Maintainer: The Vim Project <https://github.com/vim/vim> " Last Change: 2023 Aug 13 " All characters are given literally, conversion to another encoding (e.g., " UTF-8) should work. scriptencoding latin1 " Use this short name in the status line. let b:keymap_name = "acc" loadkeymap `A À 'A Á ´A Á ^A Â ~A Ã :A Ä 'C Ç ´C Ç `E È 'E É ´E É ^E Ê `I Ì 'I Í ´I Í ^I Î ~N Ñ `O Ò 'O Ó ´O Ó ^O Ô ~O Õ :O Ö `U Ù 'U Ú ´U Ú ^U Û :U Ü 'Y Ý ´Y Ý `a à 'a á ´a á ^a â ~a ã :a ä 'c ç ´c ç `e è 'e é ´e é ^e ê `i ì 'i í ´i í ^i î ~n ñ `o ò 'o ó ´o ó ^o ô ~o õ :o ö `u ù 'u ú ´u ú ^u û :u ü 'y ý ´y ý '' ' ´´ ´ `` ` ^^ ^ ~~ ~ :: :