Commit 1a6bef3
feat(highlight): Do not force override highlight groups
Don't override existing definition by using `nvim_set_hl` default
options. This fixes issues depending on load order of themes and style
adjustments and the actual `dap-view` plugin setup by only setting
highlight groups in `dap-view` whenever they don't exist yet.
This allows users to override specific groups on demand and no matter in
which order the adjustments, themes and plugins are loaded, the user's
custom override will be preserved instead of overwriting them with `dap-view`
default definitions.
Related: https://neovim.io/doc/user/api.html#nvim_set_hl()
Related: https://neovim.io/doc/user/syntax.html#%3Ahi-default1 parent 25ffcf3 commit 1a6bef3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments