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
commit 89592601b6
Notes: sideshowbarker 2024-07-17 20:41:12 +09:00
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&);
}