Skip to content

Instantly share code, notes, and snippets.

@lazypwny751
Created June 13, 2025 21:05
Show Gist options
  • Select an option

  • Save lazypwny751/c8ece00fbfacab0690b70bb9d69f9895 to your computer and use it in GitHub Desktop.

Select an option

Save lazypwny751/c8ece00fbfacab0690b70bb9d69f9895 to your computer and use it in GitHub Desktop.
nano editor syntax highlight support for jule.
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