aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin/lua.lua
diff options
context:
space:
mode:
authorSébastien Hoffmann <contact@shoffmann.dev>2026-09-16 15:49:36 +0200
committerSébastien Hoffmann <contact@shoffmann.dev>2026-09-26 10:43:37 +0200
commit65bdb48ba18b8d54c4883802e1b214c5278f8b2a (patch)
tree3a4d74bcd8a3879d55306271a7618acc1e0bf135 /runtime/lua/vim/_ftplugin/lua.lua
parent14ed853cc431ee8aa29cfa8dc1e1996506c887f6 (diff)
downloadrneovim-65bdb48ba18b8d54c4883802e1b214c5278f8b2a.tar.gz
rneovim-65bdb48ba18b8d54c4883802e1b214c5278f8b2a.tar.bz2
rneovim-65bdb48ba18b8d54c4883802e1b214c5278f8b2a.zip
fix(statusline): combine diagnostic highlights, use highlight scopes
Problem: when the highlighting surrounding the diagnostics section is not StatusLine[NC], the in-section highlights are not combined and not correctly reset afterwards. The spaces between the diagnostic items have the highlight of the item to the left, which looks bad when the Diagnostic* highlight groups are customised with background colour or underlines. Solution: use %$ to combine, and %#(...%#) to reset. ref #36685 ref #35806
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions