diff --git a/.gitignore b/.gitignore index 2ecb34b..137eed1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,6 @@ venv/ .croupier coverage/ run_tests + +# We use the internal crystal lexer +lexers/crystal.xml diff --git a/lexers/atl.xml b/lexers/atl.xml new file mode 100644 index 0000000..623dc20 --- /dev/null +++ b/lexers/atl.xml @@ -0,0 +1,165 @@ + + + ATL + atl + *.atl + text/x-atl + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/beef.xml b/lexers/beef.xml new file mode 100644 index 0000000..8b4d498 --- /dev/null +++ b/lexers/beef.xml @@ -0,0 +1,120 @@ + + + Beef + beef + *.bf + text/x-beef + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/csv.xml b/lexers/csv.xml new file mode 100644 index 0000000..b70c2f8 --- /dev/null +++ b/lexers/csv.xml @@ -0,0 +1,53 @@ + + + + + CSV + csv + *.csv + text/csv + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/groff.xml b/lexers/groff.xml index f647b21..53a05f6 100644 --- a/lexers/groff.xml +++ b/lexers/groff.xml @@ -3,7 +3,6 @@ Groff groff nroff - roff man *.[1-9] *.1p diff --git a/lexers/haskell.xml b/lexers/haskell.xml index e524426..0fee7cc 100644 --- a/lexers/haskell.xml +++ b/lexers/haskell.xml @@ -95,19 +95,22 @@ - + - + - + - + - + + + + diff --git a/lexers/json.xml b/lexers/json.xml index 9eee263..a34abfa 100644 --- a/lexers/json.xml +++ b/lexers/json.xml @@ -3,6 +3,7 @@ JSON json *.json + *.jsonc *.avsc application/json true diff --git a/lexers/jsonnet.xml b/lexers/jsonnet.xml new file mode 100644 index 0000000..a4b7498 --- /dev/null +++ b/lexers/jsonnet.xml @@ -0,0 +1,137 @@ + + + + Jsonnet + jsonnet + *.jsonnet + *.libsonnet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/materialize_sql_dialect.xml b/lexers/materialize_sql_dialect.xml index 9fea167..f2959af 100644 --- a/lexers/materialize_sql_dialect.xml +++ b/lexers/materialize_sql_dialect.xml @@ -45,7 +45,7 @@ - + diff --git a/lexers/mcfunction.xml b/lexers/mcfunction.xml index 3310520..3930c78 100644 --- a/lexers/mcfunction.xml +++ b/lexers/mcfunction.xml @@ -1,182 +1,137 @@ + - mcfunction + MCFunction mcfunction + mcf *.mcfunction - true - true + text/mcfunction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/nix.xml b/lexers/nix.xml index 2ab3af7..a0f50ea 100644 --- a/lexers/nix.xml +++ b/lexers/nix.xml @@ -106,7 +106,7 @@ - + diff --git a/lexers/nsis.xml b/lexers/nsis.xml new file mode 100644 index 0000000..08413ea --- /dev/null +++ b/lexers/nsis.xml @@ -0,0 +1,59 @@ + + + NSIS + nsis + nsi + nsh + *.nsi + *.nsh + text/x-nsis + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/ocaml.xml b/lexers/ocaml.xml index 5c611ca..8f00aef 100644 --- a/lexers/ocaml.xml +++ b/lexers/ocaml.xml @@ -41,6 +41,14 @@ + + + + + + + + diff --git a/lexers/odin.xml b/lexers/odin.xml index 6fdaaaf..53e052c 100644 --- a/lexers/odin.xml +++ b/lexers/odin.xml @@ -51,6 +51,20 @@ + + + + + + + + + + + + + + diff --git a/lexers/snbt.xml b/lexers/snbt.xml new file mode 100644 index 0000000..f834846 --- /dev/null +++ b/lexers/snbt.xml @@ -0,0 +1,57 @@ + + + + SNBT + snbt + *.snbt + text/snbt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/solidity.xml b/lexers/solidity.xml index 991a37f..24c4ccb 100644 --- a/lexers/solidity.xml +++ b/lexers/solidity.xml @@ -157,8 +157,20 @@ - - + + + + + + + + + + + + + + @@ -235,7 +247,7 @@ - + diff --git a/lexers/typescript.xml b/lexers/typescript.xml index bc00b7a..7d541cb 100644 --- a/lexers/typescript.xml +++ b/lexers/typescript.xml @@ -51,6 +51,22 @@ + + + + + + + + + + + + + + + + @@ -171,7 +187,7 @@ - + diff --git a/lexers/typst.xml b/lexers/typst.xml new file mode 100644 index 0000000..c6a39dc --- /dev/null +++ b/lexers/typst.xml @@ -0,0 +1,107 @@ + + + + Typst + typst + *.typ + text/x-typst + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/webvtt.xml b/lexers/webvtt.xml new file mode 100644 index 0000000..cb11962 --- /dev/null +++ b/lexers/webvtt.xml @@ -0,0 +1,283 @@ + + + WebVTT + vtt + *.vtt + text/vtt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexers/yaml.xml b/lexers/yaml.xml index 689fc0b..439b4e0 100644 --- a/lexers/yaml.xml +++ b/lexers/yaml.xml @@ -53,7 +53,7 @@ - + diff --git a/styles/github.xml b/styles/github.xml index 425d995..90f7879 100644 --- a/styles/github.xml +++ b/styles/github.xml @@ -1,44 +1,39 @@ diff --git a/styles/onesenterprise.xml b/styles/onesenterprise.xml new file mode 100644 index 0000000..d88315b --- /dev/null +++ b/styles/onesenterprise.xml @@ -0,0 +1,10 @@ + diff --git a/styles/pygments.xml b/styles/pygments.xml new file mode 100644 index 0000000..64e08dc --- /dev/null +++ b/styles/pygments.xml @@ -0,0 +1,42 @@ +