diff options
| author | Ayose C. <ayosec@gmail.com> | 2026-04-29 20:23:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-29 16:23:37 -0400 |
| commit | 7cd0e40039fc0ec9f3bd6b048e1be813040f2742 (patch) | |
| tree | 41138e7a379a3bc86beb2301146012379ada7ccf /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | d44b0d1f69b56bf7e0059b12f8c75abe0ff61909 (diff) | |
| download | rneovim-7cd0e40039fc0ec9f3bd6b048e1be813040f2742.tar.gz rneovim-7cd0e40039fc0ec9f3bd6b048e1be813040f2742.tar.bz2 rneovim-7cd0e40039fc0ec9f3bd6b048e1be813040f2742.zip | |
fix(lsp): fix threshold to compute contrast color #39504
Problem:
The threshold to consider a color as bright is too high, and for some colors the
foreground is set to white when it should be black.
Solution:
Change the threshold to 0.179. This value is taken from pastel-textcolor.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions