Skip to content

Commit

Permalink
Fix for TypeFox#357
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed May 22, 2022
1 parent 30711b8 commit 5d03b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/monaco-language-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class MonacoLanguageClient extends BaseLanguageClient {
});
self._c2p = new Proxy(self._c2p, {
get: (target: c2p.Converter, prop: string) => {
if (prop === 'asUri') {
if (prop === 'asUri' || prop === 'asFormattingOptions') {
return target[prop];
}
if (prop === 'asCompletionParams') {
Expand Down

0 comments on commit 5d03b5d

Please sign in to comment.