Skip to content

Commit a6aa8d0

Browse files
committed
chore(typings): add uriConverter to LanguageClientOptions
1 parent 546823c commit a6aa8d0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

typings/index.d.ts

+8
Original file line numberDiff line numberDiff line change
@@ -11626,6 +11626,10 @@ declare module 'coc.nvim' {
1162611626
filter?(document: { uri: string, languageId: string }, mode: 'onType' | 'onSave'): boolean
1162711627
}
1162811628

11629+
export interface URIConverter {
11630+
(value: Uri): string
11631+
}
11632+
1162911633
export interface LanguageClientOptions {
1163011634
ignoredRootPaths?: string[]
1163111635
disableSnippetCompletion?: boolean
@@ -11643,6 +11647,10 @@ declare module 'coc.nvim' {
1164311647
* to 'utf8' if omitted.
1164411648
*/
1164511649
stdioEncoding?: string
11650+
// converter used to decode uri.
11651+
uriConverter?: {
11652+
code2Protocol: URIConverter
11653+
}
1164611654
initializationOptions?: any | (() => any)
1164711655
initializationFailedHandler?: InitializationFailedHandler
1164811656
progressOnInitialization?: boolean

0 commit comments

Comments
 (0)