Skip to content

Commit

Permalink
feat: add filetype and icon for .hh extension
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitryder authored and cafkafk committed Mar 7, 2024
1 parent 1918eb8 commit 1185e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/info/filetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
"gvy" => FileType::Source, // Groovy
"h" => FileType::Source, // C/C++ header
"h++" => FileType::Source, // C/C++ header
"hh" => FileType::Source, // C/C++ header
"hpp" => FileType::Source, // C/C++ header
"hs" => FileType::Source, // Haskell
"htc" => FileType::Source, // JavaScript
Expand Down
1 change: 1 addition & 0 deletions src/output/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"heics" => Icons::VIDEO, // 
"heif" => Icons::IMAGE, // 
"hex" => '\u{f12a7}', // 󱊧
"hh" => Icons::LANG_CPP, // 
"hpp" => Icons::LANG_CPP, // 
"hs" => Icons::LANG_HASKELL, // 
"htm" => Icons::HTML5, // 
Expand Down

0 comments on commit 1185e0d

Please sign in to comment.