add ruby formatter and lsp

This commit is contained in:
Dax Raad
2025-06-29 22:00:08 -04:00
parent 986144b377
commit 72d48759d7
4 changed files with 134 additions and 69 deletions

View File

@@ -28,7 +28,7 @@ export namespace LSP {
export async function touchFile(input: string, waitForDiagnostics?: boolean) {
const extension = path.parse(input).ext
const s = await state()
const matches = LSPServer.All.filter((x) =>
const matches = Object.values(LSPServer).filter((x) =>
x.extensions.includes(extension),
)
for (const match of matches) {