wkillerud / some-sass

Improved support for SCSS, Sass indented and SassDoc. Workspace awareness and full support for Sass modules.
https://wkillerud.github.io/some-sass/
60 stars 6 forks source link

fix: use textEdit for completion items insertion #232

Closed wkillerud closed 2 months ago

wkillerud commented 2 months ago

The edge cases in different editors with regards to word boundaries has been too high (even for syntaxes in the same editor).

Since perhaps not all clients support it, adopting this without checking for clientCapabilities would be a breaking change. We keep the existing behavior for backwards compatibility. Nevermind, I'm looking at it wrong. From 3.16 is the new InsertReplaceEdit. textEdit is as old as the spec.

TODO:

Replaces #231

For #230