In Nemo some "twig" files appear with the text icon whilst some appear with a web icon. I want all files with a "twig" extension to appear in Nemo like "html" files e.g. with a web icon. So I edited
/etc/mime.types adding the "twig" extension to the html entry:
text/html html htm shtml twig
And then updated the MIME database using:
sudo update-mime-database /usr/share/mime
However it did not work, the twig files still have mixed icons.
I am running Linux Mint version 18.1.