mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:48:12 +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
|
@ -22,8 +22,9 @@ CodeDocument::CodeDocument(const String& file_path, Client* client)
|
|||
: TextDocument(client)
|
||||
, m_file_path(file_path)
|
||||
{
|
||||
m_language = language_from_file_extension(LexicalPath::extension(file_path));
|
||||
m_language_name = language_name_from_file_extension(LexicalPath::extension(file_path));
|
||||
auto lexical_path = LexicalPath(file_path);
|
||||
m_language = language_from_file(lexical_path);
|
||||
m_language_name = language_name_from_file(lexical_path);
|
||||
}
|
||||
|
||||
CodeDocument::CodeDocument(Client* client)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue