@@ -25,6 +25,7 @@ data FileType
2525 | OrgMode
2626 | PlainText
2727 | Rst
28+ | Textile
2829 deriving (Eq, Ord, Show, Read)
2930
3031-- | Get the file type for a certain file. The type is determined by extension.
@@ -48,6 +49,7 @@ fileType = fileType' . takeExtension
4849 fileType' ".rst" = Rst
4950 fileType' ".tex" = LaTeX
5051 fileType' ".text" = PlainText
52+ fileType' ".textile" = Textile
5153 fileType' ".txt" = PlainText
5254 fileType' _ = Binary -- Treat unknown files as binary
5355