Adding file type to ack permanently

Solution 1:

Seems to me that the documentation claims you need --type-set instead:

--type-set
latte=.latte

Whereas --type-add is for, emphasis mine:

Files with the given EXTENSION(s) are recognized as being of (the existing) type TYPE.