annotate runtime/keymap/slovak.vim @ 29655:53e434838a85
v9.0.0168
patch 9.0.0168: cursor positioned wrong with two virtual text properties
Commit: https://github.com/vim/vim/commit/25463610dfc7a4984f70b030463fb98b09772ad9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 8 11:07:47 2022 +0100
patch 9.0.0168: cursor positioned wrong with two virtual text properties
Problem: Cursor positioned wrong with two virtual text properties close
together. (Ben Jackson)
Solution: Add the original size, not the computed one. (closes #10864)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 08 Aug 2022 12:15:06 +0200 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 let encoding = &enc
|
|
2 if encoding == 'latin1'
|
|
3 if has("unix")
|
|
4 let encoding = 'iso-8859-2'
|
|
5 else
|
|
6 let encoding = 'cp1250'
|
|
7 endif
|
|
8 endif
|
|
9
|
|
10 if encoding == 'utf-8'
|
|
11 source <sfile>:p:h/slovak_utf-8.vim
|
|
12 elseif encoding == 'cp1250'
|
|
13 source <sfile>:p:h/slovak_cp1250.vim
|
|
14 else
|
|
15 source <sfile>:p:h/slovak_iso-8859-2.vim
|
|
16 endif
|