Mercurial > vim
annotate src/testdir/sautest/autoload/sourced.vim @ 28299:fae7d94220e3 v8.2.4675
patch 8.2.4675: no error for missing expression after :elseif
Commit: https://github.com/vim/vim/commit/fa010cdfb115fd2f6bae7ea6f6e63be906b5e347
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 3 16:13:07 2022 +0100
patch 8.2.4675: no error for missing expression after :elseif
Problem: No error for missing expression after :elseif. (Ernie Rael)
Solution: Check for missing expression. (closes https://github.com/vim/vim/issues/10068)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Apr 2022 17:15:02 +0200 |
parents | 6c477989f9a4 |
children |
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() |