aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorAndy K. Massimino <f8a663@normed.space>2021-03-04 00:58:07 -0500
committerAndy K. Massimino <f8a663@normed.space>2021-03-05 01:45:54 -0500
commit8601e8b0d628037d253b76de8aa524c6174f4af9 (patch)
tree2f237d95e74c3bccda9df1d4adf8f1c53365d32e /runtime
parent4e6b31d978e95be631705dbfe994749c44520d47 (diff)
downloadrneovim-8601e8b0d628037d253b76de8aa524c6174f4af9.tar.gz
rneovim-8601e8b0d628037d253b76de8aa524c6174f4af9.tar.bz2
rneovim-8601e8b0d628037d253b76de8aa524c6174f4af9.zip
vim-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 vim/vim#6970, closes vim/vim#4405) https://github.com/vim/vim/commit/213da551dec465e193619684b260bf9d5a8d6afc
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 b45e9ed450..aeee02a1e0 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -4689,6 +4689,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