Skip to content

Commit

Permalink
feat: Bump monaco-graphql, update editor configs (#231)
Browse files Browse the repository at this point in the history
* Bump monaco-graphql

* Disable acceptSuggestionOnEnter and suggestOnTriggerCharacters
  • Loading branch information
paavanb committed Apr 3, 2023
1 parent 3ad3d68 commit eb2fbaf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion experiments/browser_based_querying/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion experiments/browser_based_querying/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"detect-browser": "^5.3.0",
"graphiql": "^1.11.5",
"monaco-editor": "^0.20.0",
"monaco-graphql": "^1.1.2",
"monaco-graphql": "^1.2.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-reverse-portal": "^2.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ const enableGutterConfig: monaco.editor.IStandaloneEditorConstructionOptions = {
folding: true,
lineDecorationsWidth: 5,
lineNumbersMinChars: 2,
acceptSuggestionOnEnter: "off",
suggestOnTriggerCharacters: false,
};

window.MonacoEnvironment = {
Expand Down

0 comments on commit eb2fbaf

Please sign in to comment.