lint: formatting

This commit is contained in:
Tyler Wilding
2022-04-24 00:16:57 -04:00
parent dc3df1f237
commit d41fe7e6ad
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -115,7 +115,8 @@ void Compiler::read_eval_print(std::string input) {
if (!input.empty()) {
code = m_goos.reader.read_from_string(input);
} else {
// if this is pulled out into a function....illegal instruction on checking the debugger? strange
// if this is pulled out into a function....illegal instruction on checking the debugger?
// strange
std::string prompt = fmt::format(fmt::emphasis::bold | fg(fmt::color::cyan), "g > ");
if (m_listener.is_connected()) {
prompt = fmt::format(fmt::emphasis::bold | fg(fmt::color::lime_green), "gc> ");
+2 -1
View File
@@ -92,7 +92,8 @@ int main(int argc, char** argv) {
} else {
ReplStatus status = ReplStatus::WANT_RELOAD;
while (status == ReplStatus::WANT_RELOAD) {
compiler = std::make_unique<Compiler>(nrepl_port, username, std::make_unique<ReplWrapper>());
compiler =
std::make_unique<Compiler>(nrepl_port, username, std::make_unique<ReplWrapper>());
status = compiler->execute_repl(auto_listen, auto_debug);
if (status == ReplStatus::WANT_RELOAD) {
fmt::print("Reloading compiler...\n");