diff options
| author | Artem Krinitsyn <arkriny@gmail.com> | 2026-06-02 22:36:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-02 18:36:03 -0400 |
| commit | 738cd366f99e2bdf9b7c55b292997c934845a109 (patch) | |
| tree | 3a8e7db54f74f52afff282963aec91594da01ee8 /test/functional/vimscript/executable_spec.lua | |
| parent | cf9ad39267d9dc5f15ff0e4c6eda236b2c7e39fe (diff) | |
| download | rneovim-738cd366f99e2bdf9b7c55b292997c934845a109.tar.gz rneovim-738cd366f99e2bdf9b7c55b292997c934845a109.tar.bz2 rneovim-738cd366f99e2bdf9b7c55b292997c934845a109.zip | |
fix(diagnostic): stack _tags hl-groups in a single extmark #38654
Problem:
Diagnostic highlight groups were applied by iterating and calling
`vim.hl.range` for each group individually. That resulted in multiple
extmarks with the same priority being created separately, which does not
allow `DiagnosticUnnecessary` and `DiagnosticDeprecated` with matching
options override `Diagnostic*` styling.
Solution:
Pass the list of hl-groups to `vim.hl.range` so they are applied
together in the correct order.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions