add basic support for per-filetype config
Merge pull request #1 from kljohann/master

Allow per-filetype configuration