Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: showing error message when background color is not found (#393)
Problem: When highlighting a buffer that's hovered in yazi, or highlighting a buffer that's in the same directory as the hovered file, the background color is not found, and the highlighting is not applied. However, the error message is also shown to the user. I originally intended this to be a "this should never happen" kind of error, but it's not the case. It is also shown if the user is using a transparent background with a plugin like "xiyaowong/transparent.nvim". See here for the exact configuration that causes this issue: #392 (comment) > I use tokyonight theme and "xiyaowong/transparent.nvim" plugin to > toggle transparency > > https://github.com/xiyaowong/transparent.nvim Solution: Remove the error message, and let the highlighting fail silently. Resolves #392
- Loading branch information