From ff2343bf5b8237a00aea10634a534757505ee2d1 Mon Sep 17 00:00:00 2001 From: Vedant Date: Tue, 12 Sep 2023 23:10:06 +0530 Subject: [PATCH] Disabling clang-format in separator fxn Signed-off-by: Vedant --- include/quick-ftxui.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/quick-ftxui.hpp b/include/quick-ftxui.hpp index 83a7dc5..5a104f3 100644 --- a/include/quick-ftxui.hpp +++ b/include/quick-ftxui.hpp @@ -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( @@ -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 {