docs: correct brighten to lighten in README and doc code snippet (#372)
* Correct brighten to lighten in README code snippet Add comment to explain how lighten works * Correct brigthen as lighten in doc --------- Co-authored-by: G Roques <g.roques@charter.com>
This commit is contained in:
@@ -294,7 +294,7 @@ config:
|
||||
local util = require("tokyonight.util")
|
||||
|
||||
aplugin.background = colors.bg_dark
|
||||
aplugin.my_error = util.brighten(colors.red1, 0.3)
|
||||
aplugin.my_error = util.lighten(colors.red1, 0.3) -- number between 0 and 1. 0 results in white, 1 results in red1
|
||||
<
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user