echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
4.54k stars 175 forks source link

feat(icons): support for bicep filetype and extensions #1010

Closed scottmckendry closed 1 week ago

scottmckendry commented 1 week ago

This PR brings support for bicep/bicepparam files to mini.icons. This is fairly close to how these icons look in vscode: image

I'm very aware that I've probably messed up the formatting in the extension icons table. I'm hoping someone with mini align configured can fix it the next time this file is edited 😉

See also: my PR for this in nvim-webdev-icons.

echasnovski commented 1 week ago

Thanks for the PR!

I've added 'bicep' and 'bicepparam' filetypes. Adding manually tracked extension for present filetype is reserved for performance reasons (as to not fall back to calling relatively slow-ish vim.filetype.match()). I've left customizing files with 'bicepparam' extension to be actually highlighted as 'bicepparam' filetype to the user: either by adjusting config.extension or through vim.filetype.add().

(Sorry to not have included you as co-author: remembered only after pushing :( )