]> gitweb.factorcode.org Git - factor.git/commitdiff
editors.zed: add support for the Zed text editor
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 17 Feb 2023 16:58:00 +0000 (08:58 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 17 Feb 2023 16:58:00 +0000 (08:58 -0800)
basis/editors/zed/authors.txt [new file with mode: 0644]
basis/editors/zed/summary.txt [new file with mode: 0644]
basis/editors/zed/zed.factor [new file with mode: 0644]

diff --git a/basis/editors/zed/authors.txt b/basis/editors/zed/authors.txt
new file mode 100644 (file)
index 0000000..e091bb8
--- /dev/null
@@ -0,0 +1 @@
+John Benediktsson
diff --git a/basis/editors/zed/summary.txt b/basis/editors/zed/summary.txt
new file mode 100644 (file)
index 0000000..6e7d956
--- /dev/null
@@ -0,0 +1 @@
+Zed editor integration
diff --git a/basis/editors/zed/zed.factor b/basis/editors/zed/zed.factor
new file mode 100644 (file)
index 0000000..935e1c0
--- /dev/null
@@ -0,0 +1,8 @@
+USING: editors kernel make namespaces ;
+IN: editors.zed
+
+SINGLETON: zed
+
+M: zed editor-command
+    drop
+    [ "open" , "-a" , "Zed" , , ] { } make ;