mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user