1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/difftastic/guess.patch
3 # Copyright (C) 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- difftastic-0.41.0/src/parse/guess_language.rs.vanilla 2023-01-11 18:24:50.793566876 +0100
15 +++ difftastic-0.41.0/src/parse/guess_language.rs 2023-01-11 18:25:36.193566724 +0100
20 - "sh", "bash", "bats", "cgi", "command", "env", "fcgi", "ksh", "sh.in", "tmux", "tool",
21 + "sh", "bash", "bats", "cgi", "command", "env", "fcgi", "ksh", "in", "tmux", "tool",
26 // Treat .h as C++ rather than C. This is an arbitrary choice, but
27 // C++ is more widely used than C according to
28 // https://madnight.github.io/githut/
29 - (CPlusPlus, &["cc", "cpp", "h", "hh", "hpp", "cxx"]),
30 + (CPlusPlus, &["cc", "cpp", "h", "hh", "hpp", "cxx", "tcc"]),
37 (Kotlin, &["kt", "ktm", "kts"]),
39 + (Lua, &["lua", "els"]),
40 (Make, &["mak", "d", "make", "makefile", "mk", "mkfile"]),