mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-19 22:41:39 +00:00
Remove doResolve from yaml worker
It’s unused. It’s also not available in the latest version of yaml-language-server.
This commit is contained in:
parent
5d059ce47c
commit
8f6cb81147
1 changed files with 0 additions and 6 deletions
|
|
@ -17,8 +17,6 @@ export interface YAMLWorker {
|
|||
|
||||
doComplete: (uri: string, position: ls.Position) => PromiseLike<ls.CompletionList>;
|
||||
|
||||
doResolve: (item: ls.CompletionItem) => PromiseLike<ls.CompletionItem>;
|
||||
|
||||
doHover: (uri: string, position: ls.Position) => PromiseLike<ls.Hover>;
|
||||
|
||||
format: (uri: string, options: CustomFormatterOptions) => PromiseLike<ls.TextEdit[]>;
|
||||
|
|
@ -71,10 +69,6 @@ export function createYAMLWorker(
|
|||
return languageService.doComplete(document, position, isKubernetes);
|
||||
},
|
||||
|
||||
doResolve(item) {
|
||||
return languageService.doResolve(item);
|
||||
},
|
||||
|
||||
doHover(uri, position) {
|
||||
const document = getTextDocument(uri);
|
||||
return languageService.doHover(document, position);
|
||||
|
|
|
|||
Loading…
Reference in a new issue