@@ -27,9 +27,10 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
2727    ( & [ "bat" ,  "batch" ] ,  & [ "*.bat" ] ) , 
2828    ( & [ "bazel" ] ,  & [ 
2929        "*.bazel" ,  "*.bzl" ,  "*.BUILD" ,  "*.bazelrc" ,  "BUILD" ,  "MODULE.bazel" , 
30-         "WORKSPACE" ,  "WORKSPACE.bazel" , 
30+         "WORKSPACE" ,  "WORKSPACE.bazel" ,   "WORKSPACE.bzlmod" , 
3131    ] ) , 
3232    ( & [ "bitbake" ] ,  & [ "*.bb" ,  "*.bbappend" ,  "*.bbclass" ,  "*.conf" ,  "*.inc" ] ) , 
33+     ( & [ "boxlang" ] ,  & [ "*.bx" ,  "*.bxm" ,  "*.bxs" ] ) , 
3334    ( & [ "brotli" ] ,  & [ "*.br" ] ) , 
3435    ( & [ "buildstream" ] ,  & [ "*.bst" ] ) , 
3536    ( & [ "bzip2" ] ,  & [ "*.bz2" ,  "*.tbz2" ] ) , 
@@ -39,6 +40,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
3940    ( & [ "carp" ] ,  & [ "*.carp" ] ) , 
4041    ( & [ "cbor" ] ,  & [ "*.cbor" ] ) , 
4142    ( & [ "ceylon" ] ,  & [ "*.ceylon" ] ) , 
43+     ( & [ "cfml" ] ,  & [ "*.cfc" ,  "*.cfm" ] ) , 
4244    ( & [ "clojure" ] ,  & [ "*.clj" ,  "*.cljc" ,  "*.cljs" ,  "*.cljx" ] ) , 
4345    ( & [ "cmake" ] ,  & [ "*.cmake" ,  "CMakeLists.txt" ] ) , 
4446    ( & [ "cmd" ] ,  & [ "*.bat" ,  "*.cmd" ] ) , 
@@ -62,7 +64,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
6264    ( & [ "cython" ] ,  & [ "*.pyx" ,  "*.pxi" ,  "*.pxd" ] ) , 
6365    ( & [ "d" ] ,  & [ "*.d" ] ) , 
6466    ( & [ "dart" ] ,  & [ "*.dart" ] ) , 
65-     ( & [ "devicetree" ] ,  & [ "*.dts" ,  "*.dtsi" ] ) , 
67+     ( & [ "devicetree" ] ,  & [ "*.dts" ,  "*.dtsi" ,   "*.dtso" ] ) , 
6668    ( & [ "dhall" ] ,  & [ "*.dhall" ] ) , 
6769    ( & [ "diff" ] ,  & [ "*.patch" ,  "*.diff" ] ) , 
6870    ( & [ "dita" ] ,  & [ "*.dita" ,  "*.ditamap" ,  "*.ditaval" ] ) , 
@@ -88,6 +90,8 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
8890    ( & [ "fsharp" ] ,  & [ "*.fs" ,  "*.fsx" ,  "*.fsi" ] ) , 
8991    ( & [ "fut" ] ,  & [ "*.fut" ] ) , 
9092    ( & [ "gap" ] ,  & [ "*.g" ,  "*.gap" ,  "*.gi" ,  "*.gd" ,  "*.tst" ] ) , 
93+     ( & [ "gdscript" ] ,  & [ "*.gd" ] ) , 
94+     ( & [ "gleam" ] ,  & [ "*.gleam" ] ) , 
9195    ( & [ "gn" ] ,  & [ "*.gn" ,  "*.gni" ] ) , 
9296    ( & [ "go" ] ,  & [ "*.go" ] ) , 
9397    ( & [ "gprbuild" ] ,  & [ "*.gpr" ] ) , 
@@ -117,6 +121,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
117121    ( & [ "julia" ] ,  & [ "*.jl" ] ) , 
118122    ( & [ "jupyter" ] ,  & [ "*.ipynb" ,  "*.jpynb" ] ) , 
119123    ( & [ "k" ] ,  & [ "*.k" ] ) , 
124+     ( & [ "kconfig" ] ,  & [ "Kconfig" ,  "Kconfig.*" ] ) , 
120125    ( & [ "kotlin" ] ,  & [ "*.kt" ,  "*.kts" ] ) , 
121126    ( & [ "lean" ] ,  & [ "*.lean" ] ) , 
122127    ( & [ "less" ] ,  & [ "*.less" ] ) , 
@@ -149,6 +154,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
149154    ] ) , 
150155    ( & [ "lilypond" ] ,  & [ "*.ly" ,  "*.ily" ] ) , 
151156    ( & [ "lisp" ] ,  & [ "*.el" ,  "*.jl" ,  "*.lisp" ,  "*.lsp" ,  "*.sc" ,  "*.scm" ] ) , 
157+     ( & [ "llvm" ] ,  & [ "*.ll" ] ) , 
152158    ( & [ "lock" ] ,  & [ "*.lock" ,  "package-lock.json" ] ) , 
153159    ( & [ "log" ] ,  & [ "*.log" ] ) , 
154160    ( & [ "lua" ] ,  & [ "*.lua" ] ) , 
@@ -159,6 +165,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
159165        "[Gg][Nn][Uu]makefile" ,  "[Mm]akefile" , 
160166        "[Gg][Nn][Uu]makefile.am" ,  "[Mm]akefile.am" , 
161167        "[Gg][Nn][Uu]makefile.in" ,  "[Mm]akefile.in" , 
168+         "Makefile.*" , 
162169        "*.mk" ,  "*.mak" 
163170    ] ) , 
164171    ( & [ "mako" ] ,  & [ "*.mako" ,  "*.mao" ] ) , 
@@ -181,7 +188,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
181188    ( & [ "motoko" ] ,  & [ "*.mo" ] ) , 
182189    ( & [ "msbuild" ] ,  & [ 
183190        "*.csproj" ,  "*.fsproj" ,  "*.vcxproj" ,  "*.proj" ,  "*.props" ,  "*.targets" , 
184-         "*.sln" , 
191+         "*.sln" ,   "*.slnf" 
185192    ] ) , 
186193    ( & [ "nim" ] ,  & [ "*.nim" ,  "*.nimf" ,  "*.nimble" ,  "*.nims" ] ) , 
187194    ( & [ "nix" ] ,  & [ "*.nix" ] ) , 
@@ -210,7 +217,9 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
210217    ( & [ "py" ,  "python" ] ,  & [ "*.py" ,  "*.pyi" ] ) , 
211218    ( & [ "qmake" ] ,  & [ "*.pro" ,  "*.pri" ,  "*.prf" ] ) , 
212219    ( & [ "qml" ] ,  & [ "*.qml" ] ) , 
213-     ( & [ "r" ] ,  & [ "*.R" ,  "*.r" ,  "*.Rmd" ,  "*.Rnw" ] ) , 
220+     ( & [ "qrc" ] ,  & [ "*.qrc" ] ) , 
221+     ( & [ "qui" ] ,  & [ "*.ui" ] ) , 
222+     ( & [ "r" ] ,  & [ "*.R" ,  "*.r" ,  "*.Rmd" ,  "*.rmd" ,  "*.Rnw" ,  "*.rnw" ] ) , 
214223    ( & [ "racket" ] ,  & [ "*.rkt" ] ) , 
215224    ( & [ "raku" ] ,  & [ 
216225        "*.raku" ,  "*.rakumod" ,  "*.rakudoc" ,  "*.rakutest" , 
@@ -227,14 +236,16 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
227236        // Idiomatic files 
228237        "config.ru" ,  "Gemfile" ,  ".irbrc" ,  "Rakefile" , 
229238        // Extensions 
230-         "*.gemspec" ,  "*.rb" ,  "*.rbw" 
239+         "*.gemspec" ,  "*.rb" ,  "*.rbw" ,   "*.rake" 
231240    ] ) , 
232241    ( & [ "rust" ] ,  & [ "*.rs" ] ) , 
233242    ( & [ "sass" ] ,  & [ "*.sass" ,  "*.scss" ] ) , 
234243    ( & [ "scala" ] ,  & [ "*.scala" ,  "*.sbt" ] ) , 
244+     ( & [ "scdoc" ] ,  & [ "*.scd" ,  "*.scdoc" ] ) , 
245+     ( & [ "seed7" ] ,  & [ "*.sd7" ,  "*.s7i" ] ) , 
235246    ( & [ "sh" ] ,  & [ 
236247        // Portable/misc. init files 
237-         ".login" ,  ".logout" ,  ".profile" ,  "profile" , 
248+         ".env"  ,   ". login",  ".logout" ,  ".profile" ,  "profile" , 
238249        // bash-specific init files 
239250        ".bash_login" ,  "bash_login" , 
240251        ".bash_logout" ,  "bash_logout" , 
@@ -253,7 +264,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
253264        ".zprofile" ,  "zprofile" , 
254265        ".zshrc" ,  "zshrc" , 
255266        // Extensions 
256-         "*.bash" ,  "*.csh" ,  "*.ksh" ,  "*.sh" ,  "*.tcsh" ,  "*.zsh" , 
267+         "*.bash" ,  "*.csh" ,  "*.env"  ,   "*. ksh",  "*.sh" ,  "*.tcsh" ,  "*.zsh" , 
257268    ] ) , 
258269    ( & [ "slim" ] ,  & [ "*.skim" ,  "*.slim" ,  "*.slime" ] ) , 
259270    ( & [ "smarty" ] ,  & [ "*.tpl" ] ) , 
@@ -265,7 +276,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
265276    ( & [ "sql" ] ,  & [ "*.sql" ,  "*.psql" ] ) , 
266277    ( & [ "stylus" ] ,  & [ "*.styl" ] ) , 
267278    ( & [ "sv" ] ,  & [ "*.v" ,  "*.vg" ,  "*.sv" ,  "*.svh" ,  "*.h" ] ) , 
268-     ( & [ "svelte" ] ,  & [ "*.svelte" ] ) , 
279+     ( & [ "svelte" ] ,  & [ "*.svelte" ,   "*.svelte.ts" ] ) , 
269280    ( & [ "svg" ] ,  & [ "*.svg" ] ) , 
270281    ( & [ "swift" ] ,  & [ "*.swift" ] ) , 
271282    ( & [ "swig" ] ,  & [ "*.def" ,  "*.i" ] ) , 
@@ -280,16 +291,16 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
280291    ( & [ "texinfo" ] ,  & [ "*.texi" ] ) , 
281292    ( & [ "textile" ] ,  & [ "*.textile" ] ) , 
282293    ( & [ "tf" ] ,  & [ 
283-         "*.tf" ,  "*.auto.tfvars" ,  "terraform.tfvars" ,  "*.tf.json" , 
284-         "*.auto.tfvars.json" ,  "terraform.tfvars.json" ,  "*.terraformrc" , 
285-         "terraform.rc" ,  "*.tfrc" ,  "*.terraform.lock.hcl" , 
294+         "*.tf" ,  "*.tf.json" ,  "*.tfvars" ,  "*.tfvars.json" , 
295+         "*.terraformrc" ,  "terraform.rc" ,  "*.tfrc" ,  "*.terraform.lock.hcl" , 
286296    ] ) , 
287297    ( & [ "thrift" ] ,  & [ "*.thrift" ] ) , 
288298    ( & [ "toml" ] ,  & [ "*.toml" ,  "Cargo.lock" ] ) , 
289299    ( & [ "ts" ,  "typescript" ] ,  & [ "*.ts" ,  "*.tsx" ,  "*.cts" ,  "*.mts" ] ) , 
290300    ( & [ "twig" ] ,  & [ "*.twig" ] ) , 
291301    ( & [ "txt" ] ,  & [ "*.txt" ] ) , 
292302    ( & [ "typoscript" ] ,  & [ "*.typoscript" ,  "*.ts" ] ) , 
303+     ( & [ "typst" ] ,  & [ "*.typ" ] ) , 
293304    ( & [ "usd" ] ,  & [ "*.usd" ,  "*.usda" ,  "*.usdc" ] ) , 
294305    ( & [ "v" ] ,  & [ "*.v" ,  "*.vsh" ] ) , 
295306    ( & [ "vala" ] ,  & [ "*.vala" ] ) , 
0 commit comments