LSP "info" background and border not being overriden
Summary
The theme styles of info.background and info.border are not properly setting the popup colours. This does function properly for error and warning.
- Open a theme
jsonfile and load that theme into Zed - Set
info.backgroundandinfo.borderto some color for testing, e.g.,#FF0000
Expected Behavior: info LSP alerts' hover popups change background and border colour to the new set colour
Actual Behavior: They remain the default colour
Snippet from <themename>.json:
"info": "#b9d5eb",
"info.background": "#FF0000",
"info.border": "#FF0000",
This does function fine for error/warning:
"error": "#ff8a97",
"error.background": "#2A2A37",
"error.border": "#ff8a97",
The info underline renders properly, but the popup does not. This is true even if Zed is reloaded:
Zed Version and System Specs
Zed: v0.181.6 (Zed)
OS: Linux Wayland arch unknown
Memory: 7.7 GiB
Architecture: x86_64
GPU: Intel(R) HD Graphics 6000 (BDW GT3) || Intel open-source Mesa driver || Mesa 25.0.3-arch1.1
I have also restarted the workspace, etc. and it does not work properly. Unless I am using the wrong theme attribute? But I do not believe so
could you try adding an FF to the end of the colors like so and let me know if it works?
"info": "#b9d5ebFF",
"info.background": "#FF0000FF",
"info.border": "#FF0000FF",
I eventually figured it out, it's actually hint not info