@narumitw/pi-python-lsp 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/python-lsp.ts +3 -3
package/package.json
CHANGED
package/src/python-lsp.ts
CHANGED
|
@@ -150,7 +150,7 @@ const ruffFormatTool = defineTool({
|
|
|
150
150
|
const client = new LspClient("ruff", getServerCommand("ruff"), root, getTimeoutMs("ruff"));
|
|
151
151
|
const abort = () => client.close();
|
|
152
152
|
signal?.addEventListener("abort", abort, { once: true });
|
|
153
|
-
ctx.ui.setStatus(STATUS_KEY, "
|
|
153
|
+
ctx.ui.setStatus(STATUS_KEY, "🐍 ruff format");
|
|
154
154
|
|
|
155
155
|
try {
|
|
156
156
|
await client.start();
|
|
@@ -207,7 +207,7 @@ const ruffFixTool = defineTool({
|
|
|
207
207
|
const client = new LspClient("ruff", getServerCommand("ruff"), root, getTimeoutMs("ruff"));
|
|
208
208
|
const abort = () => client.close();
|
|
209
209
|
signal?.addEventListener("abort", abort, { once: true });
|
|
210
|
-
ctx.ui.setStatus(STATUS_KEY, "
|
|
210
|
+
ctx.ui.setStatus(STATUS_KEY, "🐍 ruff fix");
|
|
211
211
|
|
|
212
212
|
try {
|
|
213
213
|
await client.start();
|
|
@@ -279,7 +279,7 @@ async function runDiagnostics(
|
|
|
279
279
|
const client = new LspClient(kind, getServerCommand(kind), root, getTimeoutMs(kind));
|
|
280
280
|
const abort = () => client.close();
|
|
281
281
|
signal?.addEventListener("abort", abort, { once: true });
|
|
282
|
-
ctx.ui.setStatus(STATUS_KEY,
|
|
282
|
+
ctx.ui.setStatus(STATUS_KEY, `🐍 ${kind} diagnostics`);
|
|
283
283
|
|
|
284
284
|
try {
|
|
285
285
|
await client.start();
|