LSP jump to definition

This commit is contained in:
2026-02-12 21:59:56 -08:00
parent ab33635642
commit e1d83556ae
6 changed files with 44 additions and 22 deletions

View File

@@ -1,5 +1,9 @@
import { Diagnostic } from "vscode-languageserver";
import { Diagnostic, Location } from "vscode-languageserver";
export function LSP_updateFile(name: string, content: string): (eta: any) => any;
export function LSP_checkFile(name: string): Diagnostic[];
export function LSP_hoverInfo(name: string, row: number, col: number): string|null;
interface HoverResult {
info: string
location: Location
}
export function LSP_hoverInfo(name: string, row: number, col: number): HoverResult|null;