mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-22 14:10:11 +00:00
feat: add java, kotlin as supported languages
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[
|
||||
{
|
||||
"names":["js","ts","javascript"],
|
||||
"names":["js","ts","typescript","javascript","tscript","jscript"],
|
||||
"keywords": ["break", "case", "catch", "class", "const", "continue", "debugger", "default", "delete", "do","else", "export", "extends", "finally", "for", "function", "if", "import", "in", "instanceof", "new", "return", "super", "switch", "this", "throw", "try", "typeof", "var", "void", "while", "with", "yield", "let", "await", "true", "false", "null", "undefined"],
|
||||
"firstLineShebang": true,
|
||||
"doubleSlashComments": true,
|
||||
@@ -8,14 +8,14 @@
|
||||
"JSLikeTemplateStrings": true
|
||||
},
|
||||
{
|
||||
"names":["h","c","hc"],
|
||||
"names":["h","c","hc","c23","c89","ansic","ansi-c","khr-c","khrc"],
|
||||
"keywords":["auto", "break", "case", "char", "continue", "do", "default", "const", "double", "else", "enum", "extern", "for", "if", "goto", "float", "int", "long", "register", "return", "signed", "static", "sizeof", "short", "struct", "switch", "typedef", "union", "void", "while", "volatile", "unsigned"],
|
||||
"hashComments": true,
|
||||
"doubleSlashComments": true,
|
||||
"multilineSlashComments": true
|
||||
},
|
||||
{
|
||||
"names":["c++","cpp","hpp","cxx","hxx","h++"],
|
||||
"names":["cplusplus","hplusplus","c++","cpp","hpp","cxx","hxx","h++"],
|
||||
"keywords":["alignas", "alignof", "and", "and_eq", "asm", "atomic_cancel", "atomic_commit", "atomic_noexcept", "auto", "bitand", "bitor", "bool", "break", "case", "catch", "char", "char8_t", "char16_t", "char32_t", "class", "compl", "concept", "const", "consteval", "constexpr", "constinit", "const_cast", "continue", "contract_assert", "co_await", "co_return", "co_yield", "decltype", "default", "delete", "do", "double", "dynamic_cast", "else", "enum", "explicit", "export", "extern", "false", "float", "for", "friend", "goto", "if", "inline", "int", "long", "mutable", "namespace", "new", "noexcept", "not", "not_eq", "nullptr", "operator", "or", "or_eq", "private", "protected", "public", "reflexpr", "register", "reinterpret_cast", "requires", "return", "short", "signed", "sizeof", "static", "static_assert", "static_cast", "struct", "switch", "synchronized", "template", "this", "thread_local", "throw", "true", "try", "typedef", "typeid", "typename", "union", "unsigned", "using", "virtual", "void", "volatile", "wchar_t", "while", "xor", "xor_eq", "final", "override", "transaction_safe", "transaction_safe_dynamic", "import", "module", "pre", "post"],
|
||||
"hashComments": true,
|
||||
"doubleSlashComments": true,
|
||||
@@ -52,5 +52,21 @@
|
||||
"keywords": ["False", "None", "True", "and", "as", "assert", "async", "await", "break", "class", "continue", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "is", "lambda", "nonlocal", "not", "or", "pass", "raise", "return", "try", "while", "with", "yield"],
|
||||
"hashComments": true,
|
||||
"multiLine":"\"\"\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"names": ["java", "jav", "jv"],
|
||||
"keywords": ["abstract", "continue", "for", "new", "switch", "assert", "default", "goto", "package", "synchronized", "boolean", "do", "if", "private", "this", "break", "double", "implements", "protected", "throw", "byte", "else", "import", "public", "throws", "case", "enum", "instanceof", "return", "transient", "catch", "extends", "int", "short", "try", "char", "final", "interface", "static", "void", "class", "finally", "long", "strictfp", "volatile", "const", "float", "native", "super", "while"],
|
||||
"firstLineShebang":true,
|
||||
"doubleSlashComments": true,
|
||||
"multilineSlashComments": true,
|
||||
"multiLine":"\"\"\""
|
||||
},
|
||||
{
|
||||
"names": ["kt","kot","kotlin","kts"],
|
||||
"keywords": ["as", "as?", "break", "class", "continue", "do", "else", "false", "for", "fun", "if", "in", "!in", "interface", "is", "!is", "null", "object", "package", "return", "super", "this", "throw", "true", "try", "typealias", "typeof", "val", "var", "when", "while", "by", "catch", "constructor", "delegate", "dynamic", "field", "file", "finally", "get", "import", "init", "param", "property", "receiver", "set", "setparam", "value", "where", "actual", "abstract", "annotation", "companion", "const", "crossinline", "data", "enum", "expect", "external", "final", "infix", "inline", "inner", "internal", "lateinit", "noinline", "open", "operator", "out", "override", "private", "protected", "public", "reified", "sealed", "suspend", "tailrec", "vararg"],
|
||||
"firstLineShebang":true,
|
||||
"doubleSlashComments": true,
|
||||
"multilineSlashComments": true,
|
||||
"multiLine":"\"\"\""
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user