diff options
| author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2024-06-14 12:28:49 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-14 17:28:49 +0800 | 
| commit | 458473acb8d641cadb238726539b119762050a47 (patch) | |
| tree | 7d827d477191fd84109e509180daefb0ddb43807 /test/functional/script/luacats_parser_spec.lua | |
| parent | 0a9c81d70964f905112857900fbaa6aae590a96d (diff) | |
| download | rneovim-458473acb8d641cadb238726539b119762050a47.tar.gz rneovim-458473acb8d641cadb238726539b119762050a47.tar.bz2 rneovim-458473acb8d641cadb238726539b119762050a47.zip | |
fix(highlight): add `StatusLineTerm`/`StatusLineTermNC` to `:color vim` (#29313)
Problem: both `StatusLineTerm`/`StatusLineTermNC` are now explicitly
  used, but `:color vim` does not set them to the values used in Vim.
  This might be fine if `:color vim` is treated as "the state of default
  color scheme prior the big update", but it seems to be better treated
  as "Vim's default color scheme" (how it is documented in its header).
Solution: add `StatusLineTerm`/`StatusLineTermNC` definitions to
  'runtime/colors/vim.lua'.
  Use explicit foreground colors ('Whte'/'Black') instead of `guifg=bg`
  used in source, as the latter caused some problems in the past (if
  `Normal` is not defined, `nvim_set_hl()` can't recognize `'bg'` as the
  foreground value).
  Also realign the rest of the background conditional highlight groups.
Diffstat (limited to 'test/functional/script/luacats_parser_spec.lua')
0 files changed, 0 insertions, 0 deletions
