* imported qemu/hotfix-glibc-2.41.patch
[t2sde.git] / package / develop / difftastic / guess.patch
blobffcafebf9dfddb166bf787f818c94a4465d9a5b0
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/difftastic/guess.patch
3 # Copyright (C) 2023 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
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
16 @@ -129,7 +129,7 @@
18 Bash,
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",
22 "zsh",
25 @@ -145,7 +145,7 @@
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"]),
31 (CSharp, &["cs"]),
32 (Css, &["css"]),
33 (Dart, &["dart"]),
34 @@ -191,7 +191,7 @@
35 (Jsx, &["jsx"]),
36 (Julia, &["jl"]),
37 (Kotlin, &["kt", "ktm", "kts"]),
38 - (Lua, &["lua"]),
39 + (Lua, &["lua", "els"]),
40 (Make, &["mak", "d", "make", "makefile", "mk", "mkfile"]),
41 (Nix, &["nix"]),
42 (OCaml, &["ml"]),