Last active
December 5, 2021 18:50
-
-
Save petabyt/aef8a1c969d95ca629f0221bbedc1e9a to your computer and use it in GitHub Desktop.
micro editor skript syntax file yaml
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
# Skript micro yaml | |
filetype: sk | |
detect: | |
filename: "\\.sk$" | |
rules: | |
# clashes with execute command... | |
- identifier: ":" | |
- statement: "\\b(while|function|if|else|loop|)\\b" | |
- statement: "\\b(set|send|stop|return|make|cancel)\\b" | |
- statement: "\\b(message|broadcast|play)\\b" | |
- constant.number: "\\b[0-9]+\\b" | |
- type.extended: "arg-[0-9]" | |
- symbol.brackets: "[(){}]|\\[|\\]" | |
- constant.string: "%(.)*%" | |
- constant.string: "\"(.|[^\"])*\"" | |
# Work with skib | |
- comment: "# .*" | |
- preproc: "^[[:space:]]*#[[:space:]]*(define|include|ifdef|endif)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment