mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-08 22:50:00 +08:00
feat(lang): add code odin (@MarcinKuder) (#5921)
### Description Added support for Odin Language ### Checks - [ ] Adding quotes? - [ ] Make sure to include translations for the quotes in the description (or another comment) so we can verify their content. - [x] Adding a language or a theme? - [x] If is a language, did you edit `_list.json`, `_groups.json` and add `languages.json`? - [ ] If is a theme, did you add the theme.css? - Also please add a screenshot of the theme, it would be extra awesome if you do so! - [x] Check if any open issues are related to this PR; if so, be sure to tag them below. - [x] Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info) - [x] Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title. <!-- label(optional scope): pull request title (@your_github_username) --> <!-- I know I know they seem boring but please do them, they help us and you will find out it also helps you.--> Closes # <!-- the issue(s) your PR resolves if any (delete if that is not the case) --> <!-- please also reference any issues and or PRs related to your pull request --> <!-- Also remove it if you are not following any issues. --> <!-- pro tip: you can mention an issue, PR, or discussion on GitHub by referencing its hash number e.g: [#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) --> <!-- pro tip: you can press . (dot or period) in the code tab of any GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
This commit is contained in:
parent
06604684c8
commit
3b2cde8518
3 changed files with 105 additions and 1 deletions
|
@ -608,7 +608,8 @@
|
|||
"code_ook",
|
||||
"code_typescript",
|
||||
"code_cobol",
|
||||
"code_common_lisp"
|
||||
"code_common_lisp",
|
||||
"code_odin"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -350,6 +350,7 @@
|
|||
,"code_v"
|
||||
,"code_ook"
|
||||
,"code_typescript"
|
||||
,"code_odin"
|
||||
,"xhosa"
|
||||
,"code_cobol"
|
||||
,"code_common_lisp"
|
||||
|
|
102
frontend/static/languages/code_odin.json
Normal file
102
frontend/static/languages/code_odin.json
Normal file
|
@ -0,0 +1,102 @@
|
|||
{
|
||||
"name": "code_odin",
|
||||
"noLazyMode": true,
|
||||
"words": [
|
||||
"any",
|
||||
"auto_cast",
|
||||
"b16",
|
||||
"b32",
|
||||
"b64",
|
||||
"b8",
|
||||
"bit_field",
|
||||
"bit_set",
|
||||
"bool",
|
||||
"break",
|
||||
"byte",
|
||||
"case",
|
||||
"cast",
|
||||
"complex128",
|
||||
"complex32",
|
||||
"complex64",
|
||||
"complex_double",
|
||||
"complex_float",
|
||||
"continue",
|
||||
"cstring",
|
||||
"defer",
|
||||
"distinct",
|
||||
"do",
|
||||
"double",
|
||||
"dynamic",
|
||||
"else",
|
||||
"enum",
|
||||
"f16",
|
||||
"f16be",
|
||||
"f16le",
|
||||
"f32",
|
||||
"f32be",
|
||||
"f32le",
|
||||
"f64",
|
||||
"f64be",
|
||||
"f64le",
|
||||
"false",
|
||||
"float",
|
||||
"for",
|
||||
"foreign",
|
||||
"i128",
|
||||
"i128be",
|
||||
"i128le",
|
||||
"i16",
|
||||
"i16be",
|
||||
"i16le",
|
||||
"i32",
|
||||
"i32be",
|
||||
"i32le",
|
||||
"i64",
|
||||
"i64be",
|
||||
"i64le",
|
||||
"i8",
|
||||
"if",
|
||||
"import",
|
||||
"in",
|
||||
"int",
|
||||
"map",
|
||||
"matrix",
|
||||
"nil",
|
||||
"not_in",
|
||||
"or_else",
|
||||
"or_return",
|
||||
"package",
|
||||
"proc",
|
||||
"quaternion128",
|
||||
"quaternion256",
|
||||
"quaternion64",
|
||||
"rawptr",
|
||||
"return",
|
||||
"rune",
|
||||
"string",
|
||||
"struct",
|
||||
"switch",
|
||||
"transmute",
|
||||
"true",
|
||||
"typeid",
|
||||
"u128",
|
||||
"u128be",
|
||||
"u128le",
|
||||
"u16",
|
||||
"u16be",
|
||||
"u16le",
|
||||
"u32",
|
||||
"u32be",
|
||||
"u32le",
|
||||
"u64",
|
||||
"u64be",
|
||||
"u64le",
|
||||
"u8",
|
||||
"uint",
|
||||
"uintptr",
|
||||
"union",
|
||||
"using",
|
||||
"when",
|
||||
"where"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue