]> gitweb.factorcode.org Git - factor.git/commitdiff
editors.espresso: adding espresso editor integration
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 7 Aug 2022 17:00:29 +0000 (10:00 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 7 Aug 2022 17:00:29 +0000 (10:00 -0700)
basis/editors/espresso/authors.txt [new file with mode: 0644]
basis/editors/espresso/espresso.factor [new file with mode: 0644]
basis/editors/espresso/summary.txt [new file with mode: 0644]

diff --git a/basis/editors/espresso/authors.txt b/basis/editors/espresso/authors.txt
new file mode 100644 (file)
index 0000000..e091bb8
--- /dev/null
@@ -0,0 +1 @@
+John Benediktsson
diff --git a/basis/editors/espresso/espresso.factor b/basis/editors/espresso/espresso.factor
new file mode 100644 (file)
index 0000000..8334fd0
--- /dev/null
@@ -0,0 +1,11 @@
+USING: editors kernel make namespaces ;
+
+IN: editors.espresso
+
+SINGLETON: espresso
+
+editor-class [ espresso ] initialize
+
+M: espresso editor-command
+    drop
+    [ "open" , "-a" , "espresso" , , ] { } make ;
diff --git a/basis/editors/espresso/summary.txt b/basis/editors/espresso/summary.txt
new file mode 100644 (file)
index 0000000..54f2005
--- /dev/null
@@ -0,0 +1 @@
+Espresso editor integration