mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-31 22:32:28 +00:00
make lsp better
This commit is contained in:
@@ -12,9 +12,8 @@ export const ScrapCommand = cmd({
|
||||
await App.provide(
|
||||
{ cwd: process.cwd(), version: VERSION, printLogs: true },
|
||||
async () => {
|
||||
await LSP.file(args.file)
|
||||
const diagnostics = await LSP.diagnostics()
|
||||
console.log(diagnostics)
|
||||
await LSP.touchFile(args.file, true)
|
||||
await LSP.diagnostics()
|
||||
},
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user