Skip to content

Commit

Permalink
fix: use textEdit for completion items
Browse files Browse the repository at this point in the history
The edge cases in different editors with regards to word boundaries
has been too high (even for syntaxes in the same editor).
  • Loading branch information
wkillerud committed Sep 17, 2024
1 parent 22a1e91 commit 6af2f8d
Show file tree
Hide file tree
Showing 6 changed files with 244 additions and 292 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,8 +1060,6 @@ test("should suggest all symbols as legacy @import may be in use", async () => {
{
commitCharacters: [";", ","],
documentation: "limegreen\n____\nVariable declared in one.scss",
filterText: undefined,
insertText: undefined,
kind: CompletionItemKind.Color,
label: "$primary",
sortText: undefined,
Expand Down Expand Up @@ -1127,8 +1125,6 @@ test("should suggest symbol from a different document via @use with wildcard ali
{
commitCharacters: [";", ","],
documentation: "limegreen\n____\nVariable declared in one.scss",
filterText: undefined,
insertText: undefined,
kind: CompletionItemKind.Color,
label: "$primary",
sortText: undefined,
Expand Down
Loading

0 comments on commit 6af2f8d

Please sign in to comment.