vscode-elixir-ls icon indicating copy to clipboard operation
vscode-elixir-ls copied to clipboard

Wrong highlight color for string interpolation brackets when using font ligatures

Open alexandre-pedroza-h65 opened this issue 3 years ago • 0 comments

Environment

  • Elixir & Erlang versions (elixir --version): Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]

Elixir 1.14.0 (compiled with Erlang/OTP 23)

  • VSCode ElixirLS version: 0.11.0
  • Operating System Version: linux 5.19.9-200.fc36.x86_64

Error

As the title says, if you're using font ligatures, your opening and closing brackets will have different colors: image

It does look correct when font ligatures are off: image

I understand this isn't the most impactful bug ever, but it'd be a nice fix. I can try to take a stab on this if you give me some pointers.

alexandre-pedroza-h65 avatar Sep 22 '22 06:09 alexandre-pedroza-h65