summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-17 19:59:26 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-17 19:59:26 +0200
commit213da551dec465e193619684b260bf9d5a8d6afc (patch)
tree1be63c2be8d108c905a044db71d7bc5c629d0e10 /runtime
parentda697645d5917eb3d4168c06c3442bef9fb746bf (diff)
patch 8.2.1703: ":highlight clear" does not restore default linkv8.2.1703
Problem: ":highlight clear" does not restore default link. Solution: Remember the default link and restore it. (Antony Scriven, closes #6970, closes #4405)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/syntax.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 9c56567191..1d4dd1fec2 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -4809,6 +4809,7 @@ in their own color.
highlighting for groups added by the user!
Uses the current value of 'background' to decide which
default colors to use.
+ If there was a default link, restore it. |:hi-link|
:hi[ghlight] clear {group-name}
:hi[ghlight] {group-name} NONE