howl.ui.icons.nerd_fonts icons
built_in_icons = {
'nerd-cod-folder'
'nerd-cod-file'
'nerd-cod-new-file'
'nerd-cod-target'
'nerd-cod-symbol-interface'
'nerd-cod-symbol-class'
'nerd-cod-type-hierarchy-sub'
'nerd-cod-references'
'nerd-cod-info'
'nerd-cod-record-keys'
'nerd-cod-circle-filled'
'nerd-cod-sync'
'nerd-cod-pass'
'nerd-cod-play-circle'
'nerd-cod-error'
}
defines the internally used glyphs as nerd- icons
for name in *built_in_icons
assert.is_not_nil icon.get name
defines Font Awesome glyphs as nerd-<name>
assert.equal '\u{f07b}', icon.get('nerd-folder').text
defines Codicon glyphs as nerd-cod-<name>, with dashes in the names
assert.equal '\u{eb36}', icon.get('nerd-cod-references').text
assert.equal '\u{ea8c}', icon.get('nerd-cod-symbol-method').text
renders icons with the Symbols Nerd Font family
for name in *{'nerd-folder', 'nerd-cod-folder'}
styled = icon.get name
base_style = styled.styles[2]\match '[^:]+'
assert.same 'Symbols Nerd Font', style[base_style].font.family