Created
June 13, 2025 21:05
-
-
Save lazypwny751/c8ece00fbfacab0690b70bb9d69f9895 to your computer and use it in GitHub Desktop.
nano editor syntax highlight support for jule.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| syntax "jule" "\.jule$" | |
| # Keywords | |
| color cyan "\<(map|type|impl|self|trait|struct|enum|fn|const|let|mut|for|in|break|continue|goto|match|fall|if|else|ret|error|use|co|cpp|unsafe|defer|chan|select)\>" | |
| # Types | |
| color brightmagenta "\<(int|uint|uintptr|i8|i16|i32|i64|u8|u16|u32|u64|f32|f64|bool|str|any|rune|byte)\>" | |
| # Builtin funcs | |
| color brightblue "\<(new|make|copy|append|out|outln|delete|cap|len|panic|iota)\>" | |
| # Constants | |
| color green "\<(true|false|nil)\>" | |
| # Comments | |
| color brightblack "//.*" | |
| # Strings | |
| color yellow "\"(\\.|[^\"])*\"" | |
| # Numbers | |
| color red "\<[0-9]+(\.[0-9]+)?\>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment