Move lsp server to this repo (#5619)

This commit is contained in:
Jess Frazelle
2025-03-04 22:21:12 -08:00
committed by GitHub
parent e8af61e11f
commit 37715d9fa8
47 changed files with 5929 additions and 28 deletions

View File

@ -0,0 +1,24 @@
/* eslint suggest-no-throw/suggest-no-throw: 0 */
import * as lc from 'vscode-languageclient'
export type CommandLink = {
/**
* A tooltip for the command, when represented in the UI.
*/
tooltip?: string
} & lc.Command
export type CommandLinkGroup = {
title?: string
commands: CommandLink[]
}
// experimental extensions
export const serverStatus = new lc.NotificationType<ServerStatusParams>(
'experimental/serverStatus'
)
export type ServerStatusParams = {
health: 'ok' | 'warning' | 'error'
quiescent: boolean
message?: string
}