From c0a7227ba3de802d5d8a3f6db50ca5efa1eab2db Mon Sep 17 00:00:00 2001 From: Evgeni Chasnovski Date: Sun, 10 Nov 2024 15:36:06 +0200 Subject: [PATCH] feat(icons): add new supported filetype icons Mostly the ones that were added to Neovim core after previous similar update (around 2024-07-20). --- lua/mini/icons.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lua/mini/icons.lua b/lua/mini/icons.lua index ad2c05f2..ff97e445 100644 --- a/lua/mini/icons.lua +++ b/lua/mini/icons.lua @@ -831,6 +831,8 @@ H.extension_icons = { xlt = { glyph = '󱎏', hl = 'MiniIconsGreen' }, xltm = { glyph = '󱎏', hl = 'MiniIconsGreen' }, xltx = { glyph = '󱎏', hl = 'MiniIconsGreen' }, + + ['code-snippets'] = 'json', } -- File icons @@ -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' }, @@ -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' }, @@ -1260,6 +1264,7 @@ 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' }, @@ -1267,6 +1272,7 @@ H.filetype_icons = { 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' }, @@ -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' }, @@ -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' }, @@ -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' }, @@ -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' }, @@ -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' }, @@ -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' }, @@ -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' }, @@ -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' },