Is there a QuickLook preview for plain-text files with unknown extensions? [duplicate]
Solution 1:
You can use QuicklookStephen (https://github.com/whomwah/qlstephen). Install via Brew:
brew install qlstephen
and then reset the Quicklook plugins:
qlmanage -r && killall Finder
and you should be good to go!
Tested with both files without extension and files with "unknown" extension (e.g. .nfo)
Solution 2:
After a quick google, maybe this is what you need?
http://hints.macworld.com/article.php?story=20071028184428583
It explains how to declare specific file types as plain text, QuickLook will use these declarations.