`Conceal` highlighting group support
arcticicestudio opened this issue · 0 comments
The Conceal
group is currently not supported which can result in rendering problems for (Unicode) characters that require special encoding like the ones from the Greek alphabet mathematical expressions that are often used in LaTeX or Pandoc documents. These characters are currently highlighted with the default background color which makes them kind of unreadable with the theme foreground color.
See :help conceal
and :help concealcursor
for more details about concealing in Vim.
To fix the problem, the Conceal
group will be added with its background color set to NONE
for GUI and terminal mode to either use the terminal default background color or let loaded scripts apply custom styles based on the current runtime context.
The problem has been reported in #149, #207 and #211 with LaTeX and Pandoc being used by the reporters. PR #220 adds support for vim-pandoc/vim-pandoc-syntax specific highlighting groups and can be merged after adding basic support for Conceal
.