jbyuki / venn.nvim

Draw ASCII diagrams in Neovim
MIT License
919 stars 20 forks source link

UTF 8 error when drawing line with arrow #11

Closed zdcthomas closed 2 years ago

zdcthomas commented 2 years ago

Hello! First off, I absolutely love the plugin, thank you so much for making it. When I try to draw a line with an arrow terminating in all directions in any filtetype, I see this error.

Screen Shot 2021-10-29 at 12 57 47 PM

I've tried pasting the ▲ ◄─┼─►▼ characters directly, but that does not cause the same issue.

jbyuki commented 2 years ago

Hi,

What happens if you deactivate LSP in the buffer?

zdcthomas commented 2 years ago

I no longer get the error. Which makes sense because it seems like the issue is that the characters are getting sent over the rpc I guess? I could add an LspStop to the venn toggle function for now

jbyuki commented 2 years ago

I guess so. It seems to be an issue with the built-in client not handling special UTF characters. I'll close this for now.