Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rubixdev/tft

Text file type list and detection similar to that of Neovim
https://github.com/rubixdev/tft

file-type-detection file-types filetypes rust text-editor-library

Last synced: 2 days ago
JSON representation

Text file type list and detection similar to that of Neovim

Awesome Lists containing this project

README

        

# `tft`

**T**ext **f**ile **t**ype list and detection similar to that of Neovim

> Note: If viewing this file on [GitHub](https://github.com/RubixDev/tft) or
> [crates.io](https://crates.io/crates/tft), some links might not be working. Go
> to the [docs.rs page](https://docs.rs/tft/) instead, which also additionally
> includes the [Features](#features) section.

## Overview

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