Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rubixdev/tft
- Owner: RubixDev
- License: gpl-3.0
- Created: 2023-08-01T03:40:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-23T08:50:32.000Z (about 1 year ago)
- Last Synced: 2024-04-27T02:41:22.525Z (8 months ago)
- Topics: file-type-detection, file-types, filetypes, rust, text-editor-library
- Language: Rust
- Homepage: https://crates.io/crates/tft
- Size: 69.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.