mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +00:00
LibSyntax: Add common_language_extension()
function
The main motivation for this is to prefill an extension for user when saving a new file.
This commit is contained in:
parent
fb61b3d41d
commit
c75bfa9cda
2 changed files with 28 additions and 0 deletions
|
@ -33,6 +33,7 @@ struct TextStyle {
|
|||
};
|
||||
|
||||
StringView language_to_string(Language);
|
||||
StringView common_language_extension(Language);
|
||||
|
||||
class Highlighter {
|
||||
AK_MAKE_NONCOPYABLE(Highlighter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue