diff --git a/docs/configuration/theme.md b/docs/configuration/theme.md index 292b0aa4..c5a275e8 100644 --- a/docs/configuration/theme.md +++ b/docs/configuration/theme.md @@ -77,7 +77,10 @@ Border: Highlighting: The built-in syntax highlighting feature -- syntect_theme (String): Theme file path. Since Yazi and `bat` use the same highlighter, so you can directly use bat's theme files, such as `~/.config/bat/themes/Catppuccino-mocha.tmTheme`. +- syntect_theme (String): Theme file path ending with ".tmTheme", used by syntect. e.g. `"~/my-themes/Dracula.tmTheme"`. + + Yazi and `bat` use the same highlighter [syntect](https://crates.io/crates/syntect), so you can directly use [bat's theme files](https://github.com/sharkdp/bat/tree/master/assets/themes). + You can also find more available themes on GitHub by using the keyword "tmTheme". ## [status]