From 4146e760af1b9be489d64aa30426b36537c18290 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 14 Nov 2024 11:42:39 -0800 Subject: [PATCH] feat(languages): add support for txt language with appropriate extensions and chunk size --- crates/tabby-common/assets/languages.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/tabby-common/assets/languages.toml b/crates/tabby-common/assets/languages.toml index 12b89099a0de..eef1d9d8afd7 100644 --- a/crates/tabby-common/assets/languages.toml +++ b/crates/tabby-common/assets/languages.toml @@ -336,6 +336,11 @@ languages = ["markdown"] exts = ["md", "markdown"] chunk_size = 1536 +[[config]] +languages = ["txt"] +exts = ["txt"] +chunk_size = 1536 + [[config]] languages = ["perl"] exts = ["pl", "pm", "pod", "perl"]