Skip to content

Commit

Permalink
feat(icons): add new supported filetype icons
Browse files Browse the repository at this point in the history
Mostly the ones that were added to Neovim core after previous similar
update (around 2024-07-20).
  • Loading branch information
echasnovski committed Nov 10, 2024
1 parent 998cfcf commit c0a7227
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion lua/mini/icons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,8 @@ H.extension_icons = {
xlt = { glyph = '󱎏', hl = 'MiniIconsGreen' },
xltm = { glyph = '󱎏', hl = 'MiniIconsGreen' },
xltx = { glyph = '󱎏', hl = 'MiniIconsGreen' },

['code-snippets'] = 'json',
}

-- File icons
Expand Down Expand Up @@ -1202,6 +1204,7 @@ H.filetype_icons = {
gnash = { glyph = '󰒓', hl = 'MiniIconsGreen' },
gnuplot = { glyph = '󰺒', hl = 'MiniIconsPurple' },
go = { glyph = '󰟓', hl = 'MiniIconsAzure' },
goaccess = { glyph = '󰫴', hl = 'MiniIconsPurple' },
godoc = { glyph = '󰟓', hl = 'MiniIconsOrange' },
gomod = { glyph = '󰟓', hl = 'MiniIconsAzure' },
gosum = { glyph = '󰟓', hl = 'MiniIconsCyan' },
Expand Down Expand Up @@ -1251,6 +1254,7 @@ H.filetype_icons = {
htmlm4 = { glyph = '󰌝', hl = 'MiniIconsRed' },
htmlos = { glyph = '󰌝', hl = 'MiniIconsAzure' },
httest = { glyph = '󰫵', hl = 'MiniIconsGrey' },
http = { glyph = '󰌷', hl = 'MiniIconsOrange' },
hurl = { glyph = '󰫵', hl = 'MiniIconsGreen' },
hyprlang = { glyph = '', hl = 'MiniIconsCyan' },
i3config = { glyph = '󰒓', hl = 'MiniIconsOrange' },
Expand All @@ -1260,13 +1264,15 @@ H.filetype_icons = {
icon = { glyph = '󰫶', hl = 'MiniIconsGreen' },
idl = { glyph = '󰫶', hl = 'MiniIconsRed' },
idlang = { glyph = '󱗿', hl = 'MiniIconsAzure' },
idris2 = { glyph = '󰫶', hl = 'MiniIconsGrey' },
indent = { glyph = '󰉶', hl = 'MiniIconsGreen' },
inform = { glyph = '󰫶', hl = 'MiniIconsOrange' },
initex = { glyph = '', hl = 'MiniIconsGreen' },
initng = { glyph = '󰫶', hl = 'MiniIconsAzure' },
inittab = { glyph = '󰫶', hl = 'MiniIconsBlue' },
inko = { glyph = '󱗆', hl = 'MiniIconsGreen' },
ipfilter = { glyph = '󰒓', hl = 'MiniIconsAzure' },
ipkg = { glyph = '󰫶', hl = 'MiniIconsGrey' },
ishd = { glyph = '󰫶', hl = 'MiniIconsYellow' },
iss = { glyph = '󰏗', hl = 'MiniIconsBlue' },
ist = { glyph = '󰫶', hl = 'MiniIconsCyan' },
Expand All @@ -1282,6 +1288,7 @@ H.filetype_icons = {
javascriptreact = { glyph = '', hl = 'MiniIconsAzure' },
jess = { glyph = '󰫷', hl = 'MiniIconsPurple' },
jgraph = { glyph = '󰫷', hl = 'MiniIconsGrey' },
jinja = { glyph = '', hl = 'MiniIconsRed' },
jj = { glyph = '󱨎', hl = 'MiniIconsYellow' },
jovial = { glyph = '󰫷', hl = 'MiniIconsGrey' },
jproperties = { glyph = '󰬷', hl = 'MiniIconsGreen' },
Expand Down Expand Up @@ -1311,11 +1318,14 @@ H.filetype_icons = {
ldif = { glyph = '󰫹', hl = 'MiniIconsPurple' },
lean = { glyph = '󱎦', hl = 'MiniIconsPurple' },
ledger = { glyph = '󱪹', hl = 'MiniIconsBlue' },
leo = { glyph = '󰪂', hl = 'MiniIconsYellow' },
less = { glyph = '󰌜', hl = 'MiniIconsPurple' },
lex = { glyph = '󰫹', hl = 'MiniIconsOrange' },
lf = { glyph = '󰫹', hl = 'MiniIconsPurple' },
lftp = { glyph = '󰒓', hl = 'MiniIconsYellow' },
lhaskell = { glyph = '', hl = 'MiniIconsPurple' },
libao = { glyph = '󰒓', hl = 'MiniIconsGrey' },
lidris2 = { glyph = '󰫹', hl = 'MiniIconsPurple' },
lifelines = { glyph = '󰫹', hl = 'MiniIconsCyan' },
lilo = { glyph = '󰒓', hl = 'MiniIconsAzure' },
lilypond = { glyph = '󱎦', hl = 'MiniIconsOrange' },
Expand Down Expand Up @@ -1370,6 +1380,7 @@ H.filetype_icons = {
mgp = { glyph = '󰫺', hl = 'MiniIconsAzure' },
mib = { glyph = '󰫺', hl = 'MiniIconsCyan' },
mix = { glyph = '󰫺', hl = 'MiniIconsRed' },
mlir = { glyph = '󰫺', hl = 'MiniIconsGreen' },
mma = { glyph = '󰘨', hl = 'MiniIconsAzure' },
mmix = { glyph = '󰫺', hl = 'MiniIconsRed' },
mmp = { glyph = '󰫺', hl = 'MiniIconsGrey' },
Expand Down Expand Up @@ -1403,6 +1414,7 @@ H.filetype_icons = {
nastran = { glyph = '󰫻', hl = 'MiniIconsRed' },
natural = { glyph = '󰫻', hl = 'MiniIconsBlue' },
ncf = { glyph = '󰫻', hl = 'MiniIconsYellow' },
neomuttlog = { glyph = '󰷐', hl = 'MiniIconsBlue' },
neomuttrc = { glyph = '󰒓', hl = 'MiniIconsGreen' },
netrc = { glyph = '󰒓', hl = 'MiniIconsRed' },
netrw = { glyph = '󰙅', hl = 'MiniIconsBlue' },
Expand Down Expand Up @@ -1551,6 +1563,7 @@ H.filetype_icons = {
ruby = { glyph = '󰴭', hl = 'MiniIconsRed' },
rust = { glyph = '󱘗', hl = 'MiniIconsOrange' },
sage = { glyph = '󰘨', hl = 'MiniIconsPurple' },
salt = { glyph = '󰬀', hl = 'MiniIconsCyan' },
samba = { glyph = '󰒓', hl = 'MiniIconsGreen' },
sas = { glyph = '󰱐', hl = 'MiniIconsAzure' },
sass = { glyph = '󰟬', hl = 'MiniIconsRed' },
Expand Down Expand Up @@ -1641,10 +1654,12 @@ H.filetype_icons = {
stylus = { glyph = '󰴒', hl = 'MiniIconsGrey' },
sudoers = { glyph = '󰒓', hl = 'MiniIconsGrey' },
supercollider = { glyph = '󰆦', hl = 'MiniIconsGrey' },
superhtml = { glyph = '󰌝', hl = 'MiniIconsPurple' },
surface = { glyph = '󰬀', hl = 'MiniIconsRed' },
svelte = { glyph = '', hl = 'MiniIconsOrange' },
svg = { glyph = '󰜡', hl = 'MiniIconsYellow' },
svn = { glyph = '󰜘', hl = 'MiniIconsOrange' },
sway = { glyph = '󰬀', hl = 'MiniIconsCyan' },
swayconfig = { glyph = '󰒓', hl = 'MiniIconsPurple' },
swift = { glyph = '󰛥', hl = 'MiniIconsOrange' },
swiftgyb = { glyph = '󰛥', hl = 'MiniIconsYellow' },
Expand Down Expand Up @@ -1786,6 +1801,8 @@ H.filetype_icons = {
z8a = { glyph = '', hl = 'MiniIconsGrey' },
zathurarc = { glyph = '󰒓', hl = 'MiniIconsRed' },
zig = { glyph = '', hl = 'MiniIconsOrange' },
ziggy = { glyph = '󰬇', hl = 'MiniIconsBlue' },
ziggy_schema = { glyph = '󰬇', hl = 'MiniIconsAzure' },
zimbu = { glyph = '󰬇', hl = 'MiniIconsGreen' },
zimbutempl = { glyph = '󰬇', hl = 'MiniIconsOrange' },
zip = { glyph = '󰗄', hl = 'MiniIconsGreen' },
Expand All @@ -1795,7 +1812,6 @@ H.filetype_icons = {

-- Popular filetype which require user configuration
helm = { glyph = '󰠳', hl = 'MiniIconsBlue' },
http = { glyph = '󰌷', hl = 'MiniIconsOrange' },
['yaml.ansible'] = { glyph = '󱂚', hl = 'MiniIconsGrey' },
['yaml.docker-compose'] = { glyph = '󰡨', hl = 'MiniIconsYellow' },

Expand Down

0 comments on commit c0a7227

Please sign in to comment.