Not all filetypes will have syntax files (I think), so while checking for missing filetypes in https://github.com/nvim-tree/nvim-web-devicons/blob/master/scripts/filetypes.sh#L10-L20 we should, on top of presence of syntax/<filetype>, check $VIMRUNTIME/lua/vim/filetype.lua as well.