@narumitw/pi-python-lsp 0.1.16 → 0.1.18

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-python-lsp",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Pi extension that exposes ty and Ruff language-server tools for Python.",
5
5
  "type": "module",
6
6
  "license": "MIT",
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, "python-lsp: ruff format");
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, "python-lsp: ruff fix");
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, `python-lsp: ${kind} diagnostics`);
282
+ ctx.ui.setStatus(STATUS_KEY, `🐍 ${kind} diagnostics`);
283
283
 
284
284
  try {
285
285
  await client.start();