Mercurial > vim
annotate src/testdir/sautest/autoload/auto9.vim @ 29826:bfd08e50e2c0 v9.0.0252
patch 9.0.0252: cursor in wrong place after virtual text
Commit: https://github.com/vim/vim/commit/f5240b96f721b08d703340ff0b2e67b79fb8b821
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 24 12:24:37 2022 +0100
patch 9.0.0252: cursor in wrong place after virtual text
Problem: Cursor in wrong place after virtual text.
Solution: Do not change the length of a virtual text property.
(closes #10964)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Aug 2022 13:30:03 +0200 |
parents | 307341b9c227 |
children |
rev | line source |
---|---|
21550
b0b57d91671c
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 vim9script |
b0b57d91671c
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 |
27474
307341b9c227
patch 8.2.4265: autoload tests fails
Bram Moolenaar <Bram@vim.org>
parents:
21550
diff
changeset
|
3 export func Getsome() |
21550
b0b57d91671c
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 return 'some' |
b0b57d91671c
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 endfunc |
b0b57d91671c
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 |
27474
307341b9c227
patch 8.2.4265: autoload tests fails
Bram Moolenaar <Bram@vim.org>
parents:
21550
diff
changeset
|
7 export def Add42(count: number): number |
21550
b0b57d91671c
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 return count + 42 |
b0b57d91671c
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 enddef |