Minor refactor

This commit is contained in:
Martín Lucas Golini
2024-01-25 00:40:13 -03:00
parent e5b23c4a87
commit 3893d137b7
3 changed files with 176 additions and 161 deletions

View File

@@ -823,7 +823,7 @@ void GitPlugin::displayTooltip( UICodeEditor* editor, const Git::Blame& blame,
patterns.emplace_back( SyntaxPattern( { "([%w:]+)%s(%x+)%s%((%x+)%)" },
{ "normal", "keyword", "number", "number" } ) );
patterns.emplace_back( SyntaxPattern( { "([%w:]+)%s(.*)%(([%w%.-]+@[%w-]+%.%w+)%)" },
patterns.emplace_back( SyntaxPattern( { "([%w:]+)%s(.*)%(([%w%+%.-]+@[%w%.-]+%.%w+)%)" },
{ "normal", "keyword", "function", "link" } ) );
patterns.emplace_back( SyntaxPattern( { "([%w:]+)%s(%d%d%d%d%-%d%d%-%d%d[%s%d%-+:]+)" },
{ "normal", "keyword", "warning" } ) );