annotate src/testdir/sautest/autoload/sourced.vim @ 31829:2a590b4a3fba v9.0.1247

patch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window Commit: https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 26 14:14:43 2023 +0000 patch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window Problem: Divide by zero with 'smoothscroll' set and a narrow window. Solution: Bail out when the window is too narrow.
author Bram Moolenaar <Bram@vim.org>
date Thu, 26 Jan 2023 15:15:06 +0100
parents 6c477989f9a4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13004
41e46caf1030 patch 8.0.1378: autoload script sources itself when defining function
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 let g:loaded_sourced_vim += 1
21697
6c477989f9a4 patch 8.2.1398: autoload script sourced twice if sourced directly
Bram Moolenaar <Bram@vim.org>
parents: 13004
diff changeset
2 func sourced#something()
13004
41e46caf1030 patch 8.0.1378: autoload script sources itself when defining function
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 endfunc
21697
6c477989f9a4 patch 8.2.1398: autoload script sourced twice if sourced directly
Bram Moolenaar <Bram@vim.org>
parents: 13004
diff changeset
4 call sourced#something()