According to given code "locale" can't be set during "initialize" request:
|
protected getInitializationOptions(): LSP.InitializeParams["initializationOptions"] { |
|
return { |
|
capabilities: { |
|
textDocument: { |
|
hover: { |
|
dynamicRegistration: true, |
|
contentFormat: ["plaintext", "markdown"], |
|
}, |
|
moniker: {}, |
|
synchronization: { |
|
dynamicRegistration: true, |
|
willSave: false, |
|
didSave: false, |
|
willSaveWaitUntil: false, |
|
}, |
|
completion: { |
|
dynamicRegistration: true, |
|
completionItem: { |
|
snippetSupport: false, |
|
commitCharactersSupport: true, |
|
documentationFormat: ["plaintext", "markdown"], |
|
deprecatedSupport: false, |
|
preselectSupport: false, |
|
}, |
|
contextSupport: false, |
|
}, |
|
signatureHelp: { |
|
dynamicRegistration: true, |
|
signatureInformation: { |
|
documentationFormat: ["plaintext", "markdown"], |
|
}, |
|
}, |
|
declaration: { |
|
dynamicRegistration: true, |
|
linkSupport: true, |
|
}, |
|
definition: { |
|
dynamicRegistration: true, |
|
linkSupport: true, |
|
}, |
|
typeDefinition: { |
|
dynamicRegistration: true, |
|
linkSupport: true, |
|
}, |
|
implementation: { |
|
dynamicRegistration: true, |
|
linkSupport: true, |
|
}, |
|
}, |
|
workspace: { |
|
didChangeConfiguration: { |
|
dynamicRegistration: true, |
|
}, |
|
}, |
|
}, |
|
initializationOptions: null, |
|
processId: null, |
|
rootUri: this.rootUri, |
|
workspaceFolders: this.workspaceFolders, |
|
} |
|
} |
"locale" field is the part of LSP since 3.16.0
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#messageDocumentation
Is it possible to add locale support?
According to given code "locale" can't be set during "initialize" request:
codemirror-languageserver/src/index.ts
Lines 123 to 183 in 0e3d934
"locale" field is the part of LSP since 3.16.0
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#messageDocumentation
Is it possible to add locale support?