@codemirror/lsp-client
Advanced tools
+6
-0
@@ -0,1 +1,7 @@ | ||
| ## 6.1.2 (2025-09-10) | ||
| ### Bug fixes | ||
| Fix an issue where snippet completions would display the snippet source as their label. | ||
| ## 6.1.1 (2025-09-02) | ||
@@ -2,0 +8,0 @@ |
+1
-1
| { | ||
| "name": "@codemirror/lsp-client", | ||
| "version": "6.1.1", | ||
| "version": "6.1.2", | ||
| "description": "Language server protocol client for CodeMirror", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -83,3 +83,6 @@ import type * as lsp from "vscode-languageserver-protocol" | ||
| if (item.detail) option.detail = item.detail | ||
| if (item.insertTextFormat == 2 /* Snippet */) option.apply = (view, c, from, to) => snippet(text)(view, c, from, to) | ||
| if (item.insertTextFormat == 2 /* Snippet */) { | ||
| option.apply = (view, c, from, to) => snippet(text)(view, c, from, to) | ||
| option.label = item.label | ||
| } | ||
| if (item.documentation) option.info = () => renderDocInfo(plugin, item.documentation!) | ||
@@ -86,0 +89,0 @@ return option |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
275838
0.12%6391
0.11%