We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0424550 commit 74167b1Copy full SHA for 74167b1
1 file changed
src/TypeHandlers/TH_Tokenized.cpp
@@ -170,7 +170,12 @@ namespace tivars
170
171
if (has_option(options, "reindent") && options.at("reindent") == 1)
172
{
173
- str = reindentCodeString(str);
+ options_t indent_options{};
174
+ if (has_option(options, "indent_char"))
175
+ indent_options["indent_char"] = options.at("indent_char");
176
+ if (has_option(options, "indent_n"))
177
+ indent_options["indent_n"] = options.at("indent_n");
178
+ str = reindentCodeString(str, indent_options);
179
}
180
181
return str;
0 commit comments