summaryrefslogtreecommitdiff
path: root/dot_config/micro/syntax/gemini.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/micro/syntax/gemini.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/dot_config/micro/syntax/gemini.yaml b/dot_config/micro/syntax/gemini.yaml
new file mode 100644
index 0000000..40ba789
--- /dev/null
+++ b/dot_config/micro/syntax/gemini.yaml
@@ -0,0 +1,23 @@
+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: "^>.*$"