Skip to content

Commit

Permalink
Disabling clang-format in separator fxn
Browse files Browse the repository at this point in the history
Signed-off-by: Vedant <[email protected]>
  • Loading branch information
vrnimje committed Sep 12, 2023
1 parent c7e35a8 commit ff2343b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/quick-ftxui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ struct node_printer : boost::static_visitor<> {
void operator()(quick_ftxui_ast::separator const &text) const {
// tab(indent + tabsize);
// std::cout << "nil: \"" << text << '"' << std::endl;

// clang-format off
switch (text.style) {
case quick_ftxui_ast::sep_style::Normal:
data->components.push_back(
Expand All @@ -623,6 +623,7 @@ struct node_printer : boost::static_visitor<> {
default:
throw std::runtime_error("Should not reach here");
}
// clang-format on
}

void operator()(quick_ftxui_ast::int_variable_decl const &text) const {
Expand Down

0 comments on commit ff2343b

Please sign in to comment.