summaryrefslogtreecommitdiff
path: root/dot_config/micro/syntax
diff options
context:
space:
mode:
authorChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-01-18 13:37:20 +0100
committerChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-01-18 13:37:20 +0100
commitf94cb5c2ded5dfa41fb881205a81600bfb2e1427 (patch)
treef3ece555561a9ee65ef5142d2c7e3bfade11314c /dot_config/micro/syntax
parentremove old stuff (diff)
remove a bunch more no longer used stuff
Diffstat (limited to 'dot_config/micro/syntax')
-rw-r--r--dot_config/micro/syntax/.keep0
-rw-r--r--dot_config/micro/syntax/gemini.yaml23
-rw-r--r--dot_config/micro/syntax/rc.yaml32
3 files changed, 0 insertions, 55 deletions
diff --git a/dot_config/micro/syntax/.keep b/dot_config/micro/syntax/.keep
deleted file mode 100644
index e69de29..0000000
--- a/dot_config/micro/syntax/.keep
+++ /dev/null
diff --git a/dot_config/micro/syntax/gemini.yaml b/dot_config/micro/syntax/gemini.yaml
deleted file mode 100644
index 40ba789..0000000
--- a/dot_config/micro/syntax/gemini.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-filetype: gemini
-
-detect:
- filename: "(\\.gmi$|\\.gemini$)"
-
-rules:
- # links
- - constant: "^=>"
-
- # preformatted toggles/lines
- - special:
- start: "^```"
- end: "^```"
- rules: []
-
- # headings
- - special: "^#{1,3}.*$"
-
- # unordered lists
- - identifier: "^\\* "
-
- # quotes
- - statement: "^>.*$"
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):?"