tft

Text file type list and detection similar to that of Neovim

Note: If viewing this file on GitHub or crates.io, some links might not be working. Go to the docs.rs page instead, which also additionally includes the Features section.

Overview

tft mainly provides the [FileType] enum and the detect and [try_detect] functions. Follow these links for more information.