You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for your amazing work !
I noticed a strange behavior while using ruby-lsp extension in visual studio code. It seems that non-ascii characters are offsetting hovers to the right/bottom. Would it have something to do with counting charaters bytewise vs scalar (utf-8) ?
This piece of code should be sufficient for reproduction :
array = []
# éééééééééééééééééééééé
puts "çççççççççççççççççççççç"
array.each
# each hover def will be around-->here<--
Maybe I'm doing something wrong with my setup but I couldn't find anywhere to define encoding or stuff like that.
The text was updated successfully, but these errors were encountered:
Operating System
fedora 39
Ruby version
3.1
Project has a bundle
Ruby version manager being used
rbenv
Description
Hi,
Thank you for your amazing work !
I noticed a strange behavior while using ruby-lsp extension in visual studio code. It seems that non-ascii characters are offsetting hovers to the right/bottom. Would it have something to do with counting charaters bytewise vs scalar (utf-8) ?
This piece of code should be sufficient for reproduction :
Maybe I'm doing something wrong with my setup but I couldn't find anywhere to define encoding or stuff like that.
The text was updated successfully, but these errors were encountered: