iceberg.vim icon indicating copy to clipboard operation
iceberg.vim copied to clipboard

:dig has unreadable digraphs

Open waterkip opened this issue 4 months ago • 1 comments

Environment:

  • OS: Debian unstable
  • Vim (:version) VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Jan 11 2024 20:38:16)
  • Terminal kitty

If you have a trouble with coloration and are using Vim/Neovim with terminal:

  • [x] Does your Vim support full colors? (:set termguicolors)
  • [x] Does your terminal support full colors? (e.g. Terminal.app doesn't support it)

Hi, when I do :dig it is really hard to see the digraphs. When I do a select I get to see the graphs, as seen in the screenshot. Screenshot from 2024-03-02 16-01-40

Would you happen to known how I can make the digraphs more visible? Many thanks!

waterkip avatar Mar 02 '24 20:03 waterkip

I found out the reason why. This if statement is causing a link to whitespace: https://github.com/cocopon/iceberg.vim/blob/e01ac08c2202e7544531f4d806f6893539da6471/src/template.vim#L47

I'm not sure why this is here, because it messes with the display mode. If I set the SpecialKey back to whatever it was it works.

I'm happy to supply a patch that removes the line, but as said, I dunno what the reason is for the if statement. Please advise :)

waterkip avatar Mar 14 '24 03:03 waterkip