1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

HackStudio: Hookup git commit message detection and highlighting

This commit is contained in:
Brian Gianforcaro 2022-01-17 19:42:07 -08:00 committed by Andreas Kling
parent 974e36e7a9
commit 89592601b6
4 changed files with 24 additions and 6 deletions

View file

@ -6,6 +6,7 @@
#pragma once
#include <AK/LexicalPath.h>
#include <AK/String.h>
namespace HackStudio {
@ -15,14 +16,15 @@ enum class Language {
CSS,
JavaScript,
HTML,
GitCommit,
GML,
Ini,
Shell,
SQL,
};
Language language_from_file_extension(const String&);
Language language_from_file(const LexicalPath&);
Language language_from_name(const String&);
String language_name_from_file_extension(const String&);
String language_name_from_file(const LexicalPath&);
}