make lsp better
This commit is contained in:
parent
b32cb2b932
commit
d6afebf22a
1 changed files with 38 additions and 21 deletions
|
|
@ -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()
|
||||
},
|
||||
)
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue