LSP jump to definition
This commit is contained in:
8
newt-vscode-lsp/src/newt.d.ts
vendored
8
newt-vscode-lsp/src/newt.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user