1

I use conceal and write some LaTeX files in the GVim 8.2 editor on windows. The conceal works fine most of the time but it is unable to display certain characters like ∈ and ⊆. It shows a box with a question mark instead: something like [?]. My encoding is set to utf-8 so I do not know why this is happening. This does not happen in Vim on Linux probably (I saw a youtube video and there these symbols were properly displayed). Is it possible to correct this error?

3
  • 1
    Depends on a font you use. Find the one that has those unicode glyphs.
    – Maxim Kim
    Commented Feb 28, 2022 at 19:05
  • Jetbrains Mono has the ones you have in your question:i.imgur.com/40YDPra.png
    – Maxim Kim
    Commented Feb 28, 2022 at 19:07
  • @MaximKim That worked! Please consider adding that as an answer so that I can accept it.
    – MATHS MOD
    Commented Mar 2, 2022 at 0:40

1 Answer 1

2

It depends on the font capabilities you use in GVim. Basically if a font has those characters then Gvim should be able to show them.

For example, Jetbrains Mono font has those:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.