hangyav / textLSP

Language server for text spell and grammar check with various tools.
GNU General Public License v3.0
47 stars 3 forks source link

helix editor unable to perform codeAction #3

Closed tanj closed 1 year ago

tanj commented 1 year ago

The helix editor always sends a selection width of one character for codeAction, because helix way is "always be selecting." This will always result in sending at least a range of 1 and textLSP returning the error Code action is not supported for range. instead of corrections.

hangyav commented 1 year ago

Thank you for reporting this issue. Things are still a bit rough around the edges. I'll put this on my priority list.

hangyav commented 1 year ago

I added this "feature". Please check with the latest version on github.

tanj commented 1 year ago

working for me with the latest version.

Thanks so much!