aboutsummaryrefslogtreecommitdiff
path: root/SPEC.md
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-01-28 14:22:50 -0500
committerAdam Harrison <adamdharrison@gmail.com>2024-01-28 14:22:50 -0500
commitdf0a34afee0a1a199392b024277c1bb9d2062798 (patch)
tree2d333657fa3bf87b15a4c504c4b163a2b1fa5c19 /SPEC.md
parent74aadee6563b5aa96b49a45148b38c3113969177 (diff)
downloadlite-xl-plugin-manager-df0a34afee0a1a199392b024277c1bb9d2062798.tar.gz
lite-xl-plugin-manager-df0a34afee0a1a199392b024277c1bb9d2062798.zip
Added fonts to lpm as a new type.
Diffstat (limited to 'SPEC.md')
-rw-r--r--SPEC.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/SPEC.md b/SPEC.md
index f18da5d..06d42ac 100644
--- a/SPEC.md
+++ b/SPEC.md
@@ -27,6 +27,7 @@ installed. Currently three types are supported:
* `library`
* `plugin`
* `color`
+* `font`
* `meta`
Addons are further classified into two organizational categories.
@@ -48,7 +49,7 @@ Fields that are required are bolded.
* **`mod_version`**: The mod_version this addon is compatible with.
A string that can contain `[0-9\.]`. If `type` is `library`, this field is optional.
* `type`: An optional string that specifies the addon type. Valid values are `"plugin"`
- `"library"`, `"color"`, or `"meta"`. Defaults to `"plugin"`.
+ `"library"`, `"color"`,`"font"`, or `"meta"`. Defaults to `"plugin"`.
* `name`: The optional name of the addon.
* `description`: An optional english-language description of the addon.
* `provides`: An optional array of strings that are a shorthand of functionality
@@ -167,6 +168,19 @@ that any version greater than `0.1` can be used.
}
},
{
+ "id": "RobotoMono",
+ "version": "0.1",
+ "type": "font",
+ "description": "Roboto Mono font.",
+ "files": [ # Downloads all files listed here to USERDIR/fonts.
+
+ {
+ "url": "https://github.com/chrissimpkins/codeface/raw/master/fonts/roboto-mono/RobotoMono-Regular.ttf",
+ "checksum": "c7ab2d73cf7d538face08bcdde95b928ce609a970237c8811ca3c76059c8bb2f"
+ }
+ ]
+ },
+ {
"id": "json",
"version": "1.0",
"description": "JSON support plugin, provides encoding/decoding.",