st0012 / ruby-lsp-rspec

A Ruby LSP addon for RSpec tests
MIT License
127 stars 7 forks source link

Support Non-ASCII characters #43

Closed byplayer closed 1 month ago

byplayer commented 1 month ago

Non-ASCII characters are shown with Unicode escape in symbol.

Creating name from Prism::StringNode uses context.dump function, so Non-ASCII characters are Unicode escape.

So I change argument.content.dump to argument.unescape.

Due to this change, the double quotes between string are removed. So I change rspec also. If you want to quote strings with double quote, I will fix it.

issue #42