-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): clear highlighter highlights before reloading the colorscheme
Old highlights were remembered and that led to unexpected behaviour with, for example, Telescope, when toggling transparency. The highlight groups set for Telescope are very different in transparent mode vs non-transparent mode.
- Loading branch information
Showing
2 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,8 @@ function M.apply_all() | |
end | ||
end | ||
|
||
function M.clear_highlights() | ||
highlights = {} | ||
end | ||
|
||
return M |