@narumitw/pi-lsp 0.16.0 → 0.17.0
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/lsp-client.ts +1 -1
package/package.json
CHANGED
package/src/lsp-client.ts
CHANGED
|
@@ -396,7 +396,7 @@ export class LspClient {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
function isUnsupportedMethodError(error: unknown) {
|
|
399
|
-
return error instanceof Error && /method not found|not supported|unsupported/i.test(error.message);
|
|
399
|
+
return error instanceof Error && /method not found|unhandled method|not supported|unsupported/i.test(error.message);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
function formatErrorMessage(error: unknown) {
|