Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort community languages #66

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 128 additions & 11 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,132 @@
[submodule "vendor/highlight.js"]
path = vendor/highlight.js
url = https://github.com/highlightjs/highlight.js.git
[submodule "vendor/highlightjs-hlsl"]
path = vendor/highlightjs-hlsl
url = https://github.com/highlightjs/highlightjs-hlsl.git
[submodule "vendor/highlightjs-mde-languages"]
path = vendor/highlightjs-mde-languages
url = https://github.com/highlightjs/highlightjs-mde-languages
[submodule "vendor/highlightjs-apex"]
path = vendor/highlightjs-apex
url = https://github.com/highlightjs/highlightjs-apex
[submodule "vendor/highlightjs-iptables"]
path = vendor/highlightjs-iptables
url = https://github.com/highlightjs/highlightjs-iptables
[submodule "vendor/highlightjs-c3"]
path = vendor/highlightjs-c3
url = https://github.com/highlightjs/highlightjs-c3
[submodule "vendor/highlightjs-rpm-specfile"]
path = vendor/highlightjs-rpm-specfile
url = https://github.com/highlightjs/highlightjs-rpm-specfile
[submodule "vendor/highlightjs-supercollider"]
path = vendor/highlightjs-supercollider
url = https://github.com/highlightjs/highlightjs-supercollider
[submodule "vendor/highlightjs-solidity"]
path = vendor/highlightjs-solidity
url = https://github.com/highlightjs/highlightjs-solidity
[submodule "vendor/highlightjs-lang"]
path = vendor/highlightjs-lang
url = https://github.com/highlightjs/highlightjs-lang
[submodule "vendor/highlightjs-func"]
path = vendor/highlightjs-func
url = https://github.com/highlightjs/highlightjs-func
[submodule "vendor/highlightjs-tsql"]
path = vendor/highlightjs-tsql
url = https://github.com/highlightjs/highlightjs-tsql
[submodule "vendor/highlightjs-turtle"]
path = vendor/highlightjs-turtle
url = https://github.com/highlightjs/highlightjs-turtle
[submodule "vendor/highlightjs-terraform"]
path = vendor/highlightjs-terraform
url = https://github.com/highlightjs/highlightjs-terraform
[submodule "vendor/highlightjs-cypher"]
path = vendor/highlightjs-cypher
url = https://github.com/highlightjs/highlightjs-cypher
[submodule "vendor/highlightjs-closure-templates"]
path = vendor/highlightjs-closure-templates
url = https://github.com/highlightjs/highlightjs-closure-templates
[submodule "vendor/highlightjs-octave"]
path = vendor/highlightjs-octave
url = https://github.com/highlightjs/highlightjs-octave
[submodule "vendor/highlightjs-pythonlogging"]
path = vendor/highlightjs-pythonlogging
url = https://github.com/highlightjs/highlightjs-pythonlogging
[submodule "vendor/highlightjs-mirc"]
path = vendor/highlightjs-mirc
url = https://github.com/highlightjs/highlightjs-mirc
[submodule "vendor/highlightjs-zeroc-slice"]
path = vendor/highlightjs-zeroc-slice
url = https://github.com/highlightjs/highlightjs-zeroc-slice
[submodule "vendor/highlightjs-robot"]
path = vendor/highlightjs-robot
url = https://github.com/highlightjs/highlightjs-robot
[submodule "vendor/highlightjs-web-idl"]
path = vendor/highlightjs-web-idl
url = https://github.com/highlightjs/highlightjs-web-idl
[submodule "vendor/highlightjs-sentinel"]
path = vendor/highlightjs-sentinel
url = https://github.com/highlightjs/highlightjs-sentinel
[submodule "vendor/highlightjs-4d"]
path = vendor/highlightjs-4d
url = https://github.com/highlightjs/highlightjs-4d
[submodule "vendor/highlightjs-raku"]
path = vendor/highlightjs-raku
url = https://github.com/highlightjs/highlightjs-raku
[submodule "vendor/highlightjs-shexc"]
path = vendor/highlightjs-shexc
url = https://github.com/highlightjs/highlightjs-shexc
[submodule "vendor/highlightjs-riscript"]
path = vendor/highlightjs-riscript
url = https://github.com/highlightjs/highlightjs-riscript
[submodule "vendor/highlightjs-oz"]
path = vendor/highlightjs-oz
url = https://github.com/highlightjs/highlightjs-oz
[submodule "vendor/highlightjs-mlir"]
path = vendor/highlightjs-mlir
url = https://github.com/highlightjs/highlightjs-mlir
[submodule "vendor/highlightjs-lustre"]
path = vendor/highlightjs-lustre
url = https://github.com/highlightjs/highlightjs-lustre
[submodule "vendor/highlightjs-cshtml-razor"]
path = vendor/highlightjs-cshtml-razor
url = https://github.com/highlightjs/highlightjs-cshtml-razor
[submodule "vendor/highlightjs-bbcode"]
path = vendor/highlightjs-bbcode
url = https://github.com/highlightjs/highlightjs-bbcode
[submodule "vendor/highlightjs-structured-text"]
path = vendor/highlightjs-structured-text
url = https://github.com/highlightjs/highlightjs-structured-text
[submodule "vendor/highlightjs-isbl"]
path = vendor/highlightjs-isbl
url = https://github.com/highlightjs/highlightjs-isbl
[submodule "vendor/highlightjs-gdscript"]
path = vendor/highlightjs-gdscript
url = https://github.com/highlightjs/highlightjs-gdscript
[submodule "vendor/highlightjs-sap-abap"]
path = vendor/highlightjs-sap-abap
url = https://github.com/highlightjs/highlightjs-sap-abap
[submodule "vendor/highlightjs-curl"]
path = vendor/highlightjs-curl
url = https://github.com/highlightjs/highlightjs-curl
[submodule "vendor/highlightjs-vue"]
path = vendor/highlightjs-vue
url = https://github.com/highlightjs/highlightjs-vue.git
[submodule "vendor/highlightjs-graphql"]
path = vendor/highlightjs-graphql
url = https://github.com/dpeek/highlightjs-graphql.git
url = https://github.com/highlightjs/highlightjs-vue
[submodule "vendor/highlightjs-robots-txt"]
path = vendor/highlightjs-robots-txt
url = https://github.com/highlightjs/highlightjs-robots-txt
[submodule "vendor/highlightjs-alan-if"]
path = vendor/highlightjs-alan-if
url = https://github.com/highlightjs/highlightjs-alan-if
[submodule "vendor/highlightjs-dylan"]
path = vendor/highlightjs-dylan
url = https://github.com/highlightjs/highlightjs-dylan
[submodule "vendor/highlightjs-zenscript"]
path = vendor/highlightjs-zenscript
url = https://github.com/highlightjs/highlightjs-zenscript
[submodule "vendor/highlightjs-extempore"]
path = vendor/highlightjs-extempore
url = https://github.com/highlightjs/highlightjs-extempore
[submodule "vendor/highlightjs-hakaru"]
path = vendor/highlightjs-hakaru
url = https://github.com/highlightjs/highlightjs-hakaru
[submodule "vendor/highlightjs-GN"]
path = vendor/highlightjs-GN
url = https://github.com/highlightjs/highlightjs-GN.git
[submodule "vendor/highlightjs-solidity"]
path = vendor/highlightjs-solidity
url = https://github.com/highlightjs/highlightjs-solidity.git
url = https://github.com/highlightjs/highlightjs-GN
115 changes: 115 additions & 0 deletions highlighting/lib/languages/4d.dart

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

38 changes: 38 additions & 0 deletions highlighting/lib/languages/abap.dart

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

53 changes: 52 additions & 1 deletion highlighting/lib/languages/all.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore_for_file: directives_ordering

import '../src/language.dart';
import '1c.dart';
import 'abnf.dart';
Expand Down Expand Up @@ -191,8 +193,57 @@ import 'xml.dart';
import 'xquery.dart';
import 'yaml.dart';
import 'zephir.dart';
import '4d.dart';
import 'cshtml-razor.dart';
import 'curl.dart';
import 'cypher.dart';
import 'dylan.dart';
import 'gdscript.dart';
import 'gn.dart';
import 'hakaru.dart';
import 'minecraft-lang.dart';
import 'mde-atl.dart';
import 'mde-ocl.dart';
import 'mde-xcore.dart';
import 'oz.dart';
import 'robot.dart';
import 'robot-txt.dart';
import 'rpm-specfile.dart';
import 'abap.dart';
import 'shexc.dart';
import 'solidity.dart';
import 'yul.dart';
import 'iecst.dart';
import 'terraform.dart';
import 'vue.dart';
import 'zenscript.dart';

final communityLanguages = <String, Language>{};
final communityLanguages = <String, Language>{
'4d': lang4D,
'cshtml-razor': cshtmlRazor,
'curl': curl,
'cypher': cypher,
'dylan': dylan,
'gdscript': gdscript,
'gn': gn,
'hakaru': hakaru,
'minecraft-lang': minecraftLang,
'mde-atl': mdeAtl,
'mde-ocl': mdeOcl,
'mde-xcore': mdeXcore,
'oz': oz,
'robot': robot,
'robot-txt': robotTxt,
'rpm-specfile': rpmSpecfile,
'abap': abap,
'shexc': shexc,
'solidity': solidity,
'yul': yul,
'iecst': iecst,
'terraform': terraform,
'vue': vue,
'zenscript': zenscript,
};
final builtinLanguages = <String, Language>{
'1c': lang1C,
'abnf': abnf,
Expand Down
Loading