@@ -27,9 +27,10 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
27
27
( "bat" , & [ "*.bat" , "*.cmd" ] ) ,
28
28
( "bazel" , & [
29
29
"*.bazel" , "*.bzl" , "*.BUILD" , "*.bazelrc" , "BUILD" , "MODULE.bazel" ,
30
- "WORKSPACE" , "WORKSPACE.bazel" ,
30
+ "WORKSPACE" , "WORKSPACE.bazel" , "WORKSPACE.bzlmod" ,
31
31
] ) ,
32
32
( "bitbake" , & [ "*.bb" , "*.bbappend" , "*.bbclass" , "*.conf" , "*.inc" ] ) ,
33
+ ( "boxlang" , & [ "*.bx" , "*.bxm" , "*.bxs" ] ) ,
33
34
( "brotli" , & [ "*.br" ] ) ,
34
35
( "buildstream" , & [ "*.bst" ] ) ,
35
36
( "bzip2" , & [ "*.bz2" , "*.tbz2" ] ) ,
@@ -56,6 +57,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
56
57
"*.pem" ,
57
58
] ) ,
58
59
( "ceylon" , & [ "*.ceylon" ] ) ,
60
+ ( "cfml" , & [ "*.cfc" , "*.cfm" ] ) ,
59
61
( "clojure" , & [ "*.clj" , "*.cljc" , "*.cljs" , "*.cljx" ] ) ,
60
62
( "cmake" , & [ "*.cmake" , "CMakeLists.txt" ] ) ,
61
63
( "cml" , & [ "*.cml" ] ) ,
@@ -101,6 +103,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
101
103
( "fsharp" , & [ "*.fs" , "*.fsx" , "*.fsi" ] ) ,
102
104
( "fut" , & [ "*.fut" ] ) ,
103
105
( "gap" , & [ "*.g" , "*.gap" , "*.gi" , "*.gd" , "*.tst" ] ) ,
106
+ ( "gleam" , & [ "*.gleam" ] ) ,
104
107
( "gn" , & [ "*.gn" , "*.gni" ] ) ,
105
108
( "go" , & [ "*.go" , "go.mod" , "go.work" ] ) ,
106
109
( "gprbuild" , & [ "*.gpr" ] ) ,
@@ -124,10 +127,11 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
124
127
( "jinja" , & [ "*.j2" , "*.jinja" , "*.jinja2" ] ) ,
125
128
( "jl" , & [ "*.jl" ] ) ,
126
129
( "js" , & [ "*.js" , "*.jsx" , "*.vue" , "*.cjs" , "*.mjs" ] ) ,
127
- ( "json" , & [ "*.json" ] ) ,
130
+ ( "json" , & [ "*.json" , "*.sarif" ] ) ,
128
131
( "jsonl" , & [ "*.jsonl" ] ) ,
129
132
( "jupyter" , & [ "*.ipynb" , "*.jpynb" ] ) ,
130
133
( "k" , & [ "*.k" ] ) ,
134
+ ( "kconfig" , & [ "Kconfig" , "Kconfig.*" ] ) ,
131
135
( "kotlin" , & [ "*.kt" , "*.kts" ] ) ,
132
136
( "lean" , & [ "*.lean" ] ) ,
133
137
( "less" , & [ "*.less" ] ) ,
@@ -160,6 +164,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
160
164
] ) ,
161
165
( "lilypond" , & [ "*.ly" , "*.ily" ] ) ,
162
166
( "lisp" , & [ "*.el" , "*.lisp" , "*.lsp" , "*.sc" , "*.scm" ] ) ,
167
+ ( "llvm" , & [ "*.ll" ] ) ,
163
168
( "lock" , & [
164
169
"*.lock" ,
165
170
"package-lock.json" , "pnpm-lock.yaml" ,
@@ -177,7 +182,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
177
182
"[Gg][Nn][Uu]makefile" , "[Mm]akefile" ,
178
183
"[Gg][Nn][Uu]makefile.am" , "[Mm]akefile.am" ,
179
184
"[Gg][Nn][Uu]makefile.in" , "[Mm]akefile.in" ,
180
- "*.mk" , "*.mak"
185
+ "*.mk" , "*.mak" , "Makefile.*"
181
186
] ) ,
182
187
( "mako" , & [ "*.mako" , "*.mao" ] ) ,
183
188
( "man" , & [ "*.[0-9lnpx]" , "*.[0-9][cEFMmpSx]" ] ) ,
@@ -199,7 +204,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
199
204
( "motoko" , & [ "*.mo" ] ) ,
200
205
( "msbuild" , & [
201
206
"*.csproj" , "*.fsproj" , "*.vcxproj" , "*.proj" , "*.props" , "*.targets" ,
202
- "*.sln" ,
207
+ "*.sln" , "*.slnf" ,
203
208
] ) ,
204
209
( "nim" , & [ "*.nim" , "*.nimf" , "*.nimble" , "*.nims" ] ) ,
205
210
( "nix" , & [ "*.nix" ] ) ,
@@ -249,7 +254,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
249
254
// Idiomatic files
250
255
"config.ru" , "Gemfile" , ".irbrc" , "Rakefile" ,
251
256
// Extensions
252
- "*.gemspec" , "*.rb" , "*.rbw"
257
+ "*.gemspec" , "*.rb" , "*.rbw" , "*.rake"
253
258
] ) ,
254
259
( "rust" , & [
255
260
"*.rs" ,
@@ -258,9 +263,11 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
258
263
] ) ,
259
264
( "sass" , & [ "*.sass" , "*.scss" ] ) ,
260
265
( "scala" , & [ "*.scala" , "*.sbt" ] ) ,
266
+ ( "scdoc" , & [ "*.scd" , "*.scdoc" ] ) ,
267
+ ( "seed7" , & [ "*.s7i" , "*.sd7" ] ) ,
261
268
( "sh" , & [
262
269
// Portable/misc. init files
263
- ".login" , ".logout" , ".profile" , "profile" ,
270
+ ".env" , ". login", ".logout" , ".profile" , "profile" ,
264
271
// bash-specific init files
265
272
".bash_login" , "bash_login" ,
266
273
".bash_logout" , "bash_logout" ,
@@ -279,7 +286,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
279
286
".zprofile" , "zprofile" ,
280
287
".zshrc" , "zshrc" ,
281
288
// Extensions
282
- "*.bash" , "*.csh" , "*.ksh" , "*.sh" , "*.tcsh" , "*.zsh" ,
289
+ "*.bash" , "*.env" , "*. csh", "*.ksh" , "*.sh" , "*.tcsh" , "*.zsh" ,
283
290
] ) ,
284
291
( "slim" , & [ "*.skim" , "*.slim" , "*.slime" ] ) ,
285
292
( "smarty" , & [ "*.tpl" ] ) ,
@@ -306,16 +313,16 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
306
313
( "texinfo" , & [ "*.texi" ] ) ,
307
314
( "textile" , & [ "*.textile" ] ) ,
308
315
( "tf" , & [
309
- "*.tf" , "*.auto.tfvars" , "terraform.tfvars" , "*.tf.json" ,
310
- "*.auto.tfvars.json" , "terraform.tfvars.json" , "*.terraformrc" ,
311
- "terraform.rc" , "*.tfrc" ,
316
+ "*.tf" , "*.tf.json" , "*.tfvars" , "*.tfvars.json" ,
317
+ "*.terraformrc" , "terraform.rc" , "*.tfrc" ,
312
318
] ) ,
313
319
( "thrift" , & [ "*.thrift" ] ) ,
314
320
( "toml" , & [ "*.toml" ] ) ,
315
321
( "ts" , & [ "*.ts" , "*.tsx" , "*.cts" , "*.mts" ] ) ,
316
322
( "twig" , & [ "*.twig" ] ) ,
317
323
( "txt" , & [ "*.txt" ] ) ,
318
324
( "typoscript" , & [ "*.typoscript" ] ) ,
325
+ ( "typst" , & [ "*.typ" ] ) ,
319
326
( "usd" , & [ "*.usd" , "*.usda" , "*.usdc" ] ) ,
320
327
( "v" , & [ "*.v" , "*.vsh" ] ) ,
321
328
( "vala" , & [ "*.vala" ] ) ,
0 commit comments