diff --git a/frontend/static/languages/_groups.json b/frontend/static/languages/_groups.json index a5a7bdb97..3d11b644f 100644 --- a/frontend/static/languages/_groups.json +++ b/frontend/static/languages/_groups.json @@ -429,7 +429,8 @@ "code_opencl", "code_visual_basic", "code_arduino", - "code_systemverilog" + "code_systemverilog", + "code_elixir" ] }, { diff --git a/frontend/static/languages/_list.json b/frontend/static/languages/_list.json index b8f56d486..5a192837b 100644 --- a/frontend/static/languages/_list.json +++ b/frontend/static/languages/_list.json @@ -253,4 +253,5 @@ ,"code_visual_basic" ,"code_arduino" ,"code_systemverilog" + ,"code_elixir" ] diff --git a/frontend/static/languages/code_elixir.json b/frontend/static/languages/code_elixir.json new file mode 100644 index 000000000..768ecacd0 --- /dev/null +++ b/frontend/static/languages/code_elixir.json @@ -0,0 +1,120 @@ +{ + "name": "code_elixir", + "leftToRight": true, + "ligatures": true, + "words": [ + "__MODULE__", + "__using__", + "--", + "@before_compile", + "@behaviour", + "@callback", + "@doc", + "@macrocallback", + "@moduledoc", + "@opaque", + "@optional_callbacks", + "@spec", + "@type", + "@typep", + "<>", + "%{}", + "%MapSet{}", + "++", + "alias", + "and", + "any", + "Application", + "ArgumentError", + "as", + "assert", + "atom", + "Atom", + "case", + "cast", + "catch", + "cond", + "config", + "Date", + "DateTime", + "dbg()", + "def", + "defdelegate", + "defexception", + "defguard", + "defimpl", + "defmacro", + "defmodule", + "defoverridable", + "defp", + "defprotocol", + "defstruct", + "describe", + "do", + "elem()", + "end", + "Enum", + "Exception", + "false", + "Float", + "fn", + "for", + "Function", + "GenServer", + "if", + "import", + "in", + "inspect()", + "Integer", + "is_atom()", + "is_binary()", + "is_integer()", + "is_list()", + "is_map()", + "is_number()", + "is_pid()", + "is_struct()", + "Kernel", + "Keyword", + "length", + "List", + "Macro", + "map", + "Map", + "MapSet", + "mix", + "Module", + "NaiveDateTime", + "nil", + "not", + "number", + "only", + "or", + "Port", + "Process", + "Protocol", + "quote", + "raise", + "Range", + "Regex", + "require", + "rescue", + "schema", + "Stream", + "string", + "String", + "struct", + "Supervisor", + "System", + "Task", + "test", + "Time", + "true", + "Tuple", + "unless", + "use", + "when", + "with_log", + "with" + ] +} \ No newline at end of file diff --git a/frontend/static/languages/code_lua.json b/frontend/static/languages/code_lua.json index 6b8bb0be3..5a91bc32b 100644 --- a/frontend/static/languages/code_lua.json +++ b/frontend/static/languages/code_lua.json @@ -54,7 +54,6 @@ "type", "unpack", "xpcall", - "bit32", "coroutine", "debug",