mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
HackStudio: Hookup git commit message detection and highlighting
This commit is contained in:
committed by
Andreas Kling
parent
974e36e7a9
commit
89592601b6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user