Mercurial > vim
annotate src/testdir/sautest/autoload/sourced.vim @ 22308:19e0784ef769 v8.2.1703
patch 8.2.1703: ":highlight clear" does not restore default link
Commit: https://github.com/vim/vim/commit/213da551dec465e193619684b260bf9d5a8d6afc
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 17 19:59:26 2020 +0200
patch 8.2.1703: ":highlight clear" does not restore default link
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes #6970, closes #4405)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Sep 2020 20:00:07 +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() |