We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7967c commit 17b7ee0Copy full SHA for 17b7ee0
CodeFormatServer/src/Service/CommandService.cpp
@@ -88,7 +88,7 @@ void CommandService::Reformat(std::shared_ptr<vscode::ExecuteCommandParams> para
88
auto& edit = change.emplace_back();
89
LuaFormatRange formattedRange(static_cast<int>(range.start.line), static_cast<int>(range.end.line));
90
91
- auto formatResult = GetService<CodeFormatService>()->RangeFormat(formattedRange, parser, options);
+ auto formatResult = GetService<CodeFormatService>()->RangeFormat(formattedRange, parser, *options);
92
93
edit.newText = std::move(formatResult);
94
0 commit comments