From a90b9a5872c9c916733816e1e0d8c95cb09bfcba Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Tue, 4 May 2021 17:13:51 -0400 Subject: implement range formatting --- editors/code/package.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'editors/code') diff --git a/editors/code/package.json b/editors/code/package.json index 17d9281ff..05cbccf94 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -795,6 +795,11 @@ "type": "string" } }, + "rust-analyzer.rustfmt.enableRangeFormatting": { + "markdownDescription": "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.", + "default": false, + "type": "boolean" + }, "rust-analyzer.workspace.symbol.search.scope": { "markdownDescription": "Workspace symbol search scope.", "default": "workspace", -- cgit v1.2.3