@codemirror/lsp-client
Advanced tools
+6
-0
@@ -0,1 +1,7 @@ | ||
| ## 6.2.2 (2026-03-02) | ||
| ### Bug fixes | ||
| In completion snippets from the server, treat `$1` the same as `${1}`. | ||
| ## 6.2.1 (2025-11-20) | ||
@@ -2,0 +8,0 @@ |
+1
-1
| { | ||
| "name": "@codemirror/lsp-client", | ||
| "version": "6.2.1", | ||
| "version": "6.2.2", | ||
| "description": "Language server protocol client for CodeMirror", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -99,3 +99,3 @@ import type * as lsp from "vscode-languageserver-protocol" | ||
| if (item.insertTextFormat == 2 /* Snippet */) { | ||
| option.apply = (view, c, from, to) => snippet(text)(view, c, from, to) | ||
| option.apply = (view, c, from, to) => snippet(text.replace(/\$(\d+)/g, "${$1}"))(view, c, from, to) | ||
| option.label = item.label | ||
@@ -102,0 +102,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
278654
0.07%