From 58c007674b8c746beab371ca13fce951af6cd1f2 Mon Sep 17 00:00:00 2001 From: Gregoire Geis Date: Sun, 2 Feb 2020 15:58:53 +0100 Subject: Change default enhanced typing behavior from using type to using keybindings. --- editors/code/package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/editors/code/package.json b/editors/code/package.json index 9987a28f5..05f55cb35 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -141,6 +141,11 @@ "command": "rust-analyzer.run", "key": "ctrl+r", "when": "editorTextFocus && editorLangId == rust" + }, + { + "command": "rust-analyzer.onEnter", + "key": "enter", + "when": "editorTextFocus && editorLangId == rust" } ], "configuration": { @@ -164,7 +169,7 @@ }, "rust-analyzer.enableEnhancedTyping": { "type": "boolean", - "default": true, + "default": false, "description": "Enables enhanced typing. NOTE: If using a VIM extension, you should set this to false" }, "rust-analyzer.raLspServerPath": { -- cgit v1.2.3