summaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
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/doc/syntax.txt
parentda697645d5917eb3d4168c06c3442bef9fb746bf (diff)
downloadvim-git-213da551dec465e193619684b260bf9d5a8d6afc.tar.gz
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/doc/syntax.txt')
-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 9c5656719..1d4dd1fec 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