summaryrefslogtreecommitdiff
path: root/dot_config/micro/syntax/rc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/micro/syntax/rc.yaml')
-rw-r--r--dot_config/micro/syntax/rc.yaml32
1 files changed, 0 insertions, 32 deletions
diff --git a/dot_config/micro/syntax/rc.yaml b/dot_config/micro/syntax/rc.yaml
deleted file mode 100644
index 62b0c85..0000000
--- a/dot_config/micro/syntax/rc.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-filetype: p9rc
-
-# this is all buggy and shitty but it's better than nothing lmao
-
-detect:
- filename: ".rc$"
- header: "^#!.*/(env +)?rc( |$)"
-
-rules:
- # Flow control
- - statement: "\\b(if|else|while|for|in|switch|case|fn)\\b"
-
- # Logical operators
- - special: "(\\!|\\|\\||&&|~|\\^|=|`)"
-
- # Builtins
- - type: "\\b(\\.|break|builtin|cd|continue|echo|eval|exec|exit|flag|limit|newgrp|return|shift|umask|wait|whatis)\\b"
-
- # Variables
- - identifier: "\\$(\"|\\^)?[0-9A-Za-z_!@#$*?-]+(\\([^\\)]*\\))?"
-
- # String literals
- - constant.string:
- start: "'"
- end: "'"
- rules: []
-
- - comment:
- start: "(^|\\s)#"
- end: "$"
- rules:
- - todo: "(TODO|XXX|FIXME):?"