nvim-tree / nvim-web-devicons

lua `fork` of vim-web-devicons for neovim
MIT License
1.93k stars 182 forks source link

chore(#192): generate from css class names #418

Open alex-courtis opened 3 months ago

alex-courtis commented 3 months ago

fixes #192

feeds #414

Still contains validation programs to check against master.

Icons are mostly unchanged; seti refactor etc. can come later.

Changes, for classes with no nerd-font icon:

lua scripts/gen-check.lua
default icons_by_filename
default icons_by_file_extension
sig                       'λ' ~= '󰘧'
nu                        '>' ~= ''
sml                       'λ' ~= '󰘧'
cob                       '⚙' ~= ''
cpy                       '⚙' ~= ''
cobol                     '⚙' ~= ''
cbl                       '⚙' ~= ''
mo                        '∞' ~= '󰛤'
default icons_by_operating_system
light icons_by_filename
light icons_by_file_extension
sig                       'λ' ~= '󰘧'
nu                        '>' ~= ''
sml                       'λ' ~= '󰘧'
cob                       '⚙' ~= ''
cpy                       '⚙' ~= ''
cobol                     '⚙' ~= ''
cbl                       '⚙' ~= ''
mo                        '∞' ~= '󰛤'
light icons_by_operating_system
gegoune commented 3 months ago

Nice work!

For autogenerated files we could consider adding https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github.