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:
parent
974e36e7a9
commit
89592601b6
4 changed files with 24 additions and 6 deletions
|
@ -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&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue