diff --git a/frontend/static/languages/_groups.json b/frontend/static/languages/_groups.json index d0e3d893b..9d650ef01 100644 --- a/frontend/static/languages/_groups.json +++ b/frontend/static/languages/_groups.json @@ -547,7 +547,8 @@ "code_zig", "code_gdscript", "code_gdscript_2", - "code_assembly" + "code_assembly", + "code_v" ] } ] diff --git a/frontend/static/languages/_list.json b/frontend/static/languages/_list.json index 787b6cad1..4a8739893 100644 --- a/frontend/static/languages/_list.json +++ b/frontend/static/languages/_list.json @@ -317,4 +317,5 @@ ,"code_gdscript" ,"code_gdscript_2" ,"code_assembly" + ,"code_v" ] diff --git a/frontend/static/languages/code_v.json b/frontend/static/languages/code_v.json new file mode 100644 index 000000000..27231eafa --- /dev/null +++ b/frontend/static/languages/code_v.json @@ -0,0 +1,73 @@ +{ + "name": "code_v", + "noLazyMode": true, + "words": [ + "as", + "asm", + "assert", + "atomic", + "break", + "const", + "continue", + "defer", + "else", + "enum", + "false", + "fn", + "for", + "go", + "goto", + "if", + "import", + "in", + "interface", + "is", + "isreftype", + "lock", + "match", + "module", + "mut", + "none", + "or", + "pub", + "return", + "rlock", + "select", + "shared", + "sizeof", + "spawn", + "static", + "struct", + "true", + "type", + "typeof", + "union", + "unsafe", + "volatile", + "__global", + "__offsetof", + + "print", + "println", + + "main", + "panic", + "exit", + + "bool", + "i8", + "i16", + "int", + "i64", + "u8", + "u16", + "u32", + "u64", + "f32", + "f64", + "string", + "rune", + "voidptr", + "any" + ] +}