From b4eb05e1d7c6d5d575618332f2d2677325e5fe65 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Wed, 4 Oct 2023 09:28:40 +0200 Subject: [PATCH] Fix syntax highlight in client for spaceship operator Signed-off-by: Azat Khuzhin --- src/Client/ClientBaseHelpers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Client/ClientBaseHelpers.cpp b/src/Client/ClientBaseHelpers.cpp index 5ad34ba8e81..b0862696295 100644 --- a/src/Client/ClientBaseHelpers.cpp +++ b/src/Client/ClientBaseHelpers.cpp @@ -130,6 +130,7 @@ void highlight(const String & query, std::vector & colors {TokenType::Greater, replxx::color::bold(Replxx::Color::DEFAULT)}, {TokenType::LessOrEquals, replxx::color::bold(Replxx::Color::DEFAULT)}, {TokenType::GreaterOrEquals, replxx::color::bold(Replxx::Color::DEFAULT)}, + {TokenType::Spaceship, replxx::color::bold(Replxx::Color::DEFAULT)}, {TokenType::Concatenation, replxx::color::bold(Replxx::Color::DEFAULT)}, {TokenType::At, replxx::color::bold(Replxx::Color::DEFAULT)}, {TokenType::DoubleAt, Replxx::Color::MAGENTA},