Skip to content

Commit

Permalink
chore: update language ext map (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
hougesen authored Sep 1, 2024
1 parent 6e2edcf commit d3d0308
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [Unreleased](https://github.com/hougesen/mdsf/compare/v0.2.2...HEAD)

- build(deps): bump clap_complete from 4.5.12 to 4.5.24 [`#439`](https://github.com/hougesen/mdsf/pull/439)
- build(deps): bump serde_json from 1.0.122 to 1.0.127 in /codegen [`#443`](https://github.com/hougesen/mdsf/pull/443)
- build(deps): bump serde_json from 1.0.122 to 1.0.127 [`#438`](https://github.com/hougesen/mdsf/pull/438)
- build(deps): bump serde from 1.0.204 to 1.0.209 in /codegen [`#440`](https://github.com/hougesen/mdsf/pull/440)
- build(deps): bump which from 6.0.2 to 6.0.3 [`#442`](https://github.com/hougesen/mdsf/pull/442)
- build(deps): bump serde from 1.0.204 to 1.0.209 [`#441`](https://github.com/hougesen/mdsf/pull/441)
- build(deps): bump reqwest from 0.12.5 to 0.12.7 in /codegen [`#444`](https://github.com/hougesen/mdsf/pull/444)
- build(deps): bump tempfile to 3.12.0 [`#437`](https://github.com/hougesen/mdsf/pull/437)
- build(deps): bump clap to 4.5.16 [`#436`](https://github.com/hougesen/mdsf/pull/436)
- chore: bump dev version to v0.2.3 [`1a5a9b6`](https://github.com/hougesen/mdsf/commit/1a5a9b6f99e7fce3e8a97ba37110ff62dc6fe403)

Expand Down
4 changes: 2 additions & 2 deletions codegen/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions src/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ pub fn language_to_ext(language: &str) -> &'static str {
"avro idl" => ".avdl",
"awk" => ".awk",
"b3d" => ".bb",
"b4x" => ".bas",
"ballerina" => ".bal",
"bash session" => ".sh-session",
"bash" => ".sh",
"basic for android" => ".bas",
"basic" => ".bas",
"bat" => ".bat",
"batch" => ".bat",
Expand Down Expand Up @@ -132,12 +134,14 @@ pub fn language_to_ext(language: &str) -> &'static str {
"caddy" => ".caddyfile",
"caddyfile" => ".caddyfile",
"cadence" => ".cdc",
"cairo zero" => ".cairo",
"cairo" => ".cairo",
"cake" => ".cs",
"cakescript" => ".cs",
"cameligo" => ".mligo",
"cap cds" => ".cds",
"cap'n proto" => ".capnp",
"carbon" => ".carbon",
"carto" => ".mss",
"cartocss" => ".mss",
"cds" => ".cds",
Expand Down Expand Up @@ -208,6 +212,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"cweb" => ".w",
"cwl" => ".cwl",
"cycript" => ".cy",
"cylc" => ".cylc",
"cypher" => ".cyp",
"cython" => ".pyx",
"d" => ".d",
Expand Down Expand Up @@ -263,6 +268,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"eex" => ".eex",
"eiffel" => ".e",
"ejs" => ".ejs",
"electronic business card" => ".vcf",
"elisp" => ".el",
"elixir" => ".ex",
"elm" => ".elm",
Expand Down Expand Up @@ -399,6 +405,8 @@ pub fn language_to_ext(language: &str) -> &'static str {
"hylang" => ".hy",
"hyphy" => ".bf",
"i7" => ".ni",
"ical" => ".ics",
"icalendar" => ".ics",
"idl" => ".pro",
"idris" => ".idr",
"ignore list" => ".gitignore",
Expand Down Expand Up @@ -429,6 +437,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"java properties" => ".properties",
"java server page" => ".gsp",
"java server pages" => ".jsp",
"java template engine" => ".jte",
"java" => ".java",
"javascript" => ".js",
"javascript+erb" => ".js.erb",
Expand All @@ -452,6 +461,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"jsonld" => ".jsonld",
"jsonnet" => ".jsonnet",
"jsp" => ".jsp",
"jte" => ".jte",
"julia" => ".jl",
"jupyter notebook" => ".ipynb",
"just" => ".just",
Expand Down Expand Up @@ -499,6 +509,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"literate coffeescript" => ".litcoffee",
"literate haskell" => ".lhs",
"live-script" => ".ls",
"livecode script" => ".livecodescript",
"livescript" => ".ls",
"llvm" => ".ll",
"logos" => ".xm",
Expand Down Expand Up @@ -579,6 +590,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"mustache" => ".mustache",
"myghty" => ".myt",
"nanorc" => ".nanorc",
"nargo" => ".nr",
"nasal" => ".nas",
"nasl" => ".nasl",
"nasm" => ".asm",
Expand Down Expand Up @@ -606,6 +618,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"nl" => ".nl",
"nmodl" => ".mod",
"node" => ".js",
"noir" => ".nr",
"nroff" => ".roff",
"nsis" => ".nsi",
"nu" => ".nu",
Expand Down Expand Up @@ -879,6 +892,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"swift" => ".swift",
"swig" => ".i",
"systemverilog" => ".sv",
"tab-seperated values" => ".tsv",
"talon" => ".talon",
"tcl" => ".tcl",
"tcsh" => ".tcsh",
Expand Down Expand Up @@ -936,6 +950,7 @@ pub fn language_to_ext(language: &str) -> &'static str {
"vba" => ".bas",
"vbnet" => ".vb",
"vbscript" => ".vbs",
"vcard" => ".vcf",
"vcl" => ".vcl",
"vdf" => ".vdf",
"velocity template language" => ".vtl",
Expand All @@ -948,6 +963,8 @@ pub fn language_to_ext(language: &str) -> &'static str {
"vim" => ".vim",
"vimhelp" => ".txt",
"viml" => ".vim",
"vimscript" => ".vim",
"virtual contact file" => ".vcf",
"visual basic .net" => ".vb",
"visual basic 6" => ".bas",
"visual basic 6.0" => ".bas",
Expand Down

0 comments on commit d3d0308

Please sign in to comment.