]> gitweb.factorcode.org Git - factor.git/commitdiff
editors.lite-xl: adding Lite XL editor integration
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 4 Jan 2023 22:08:07 +0000 (14:08 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 4 Jan 2023 22:08:53 +0000 (14:08 -0800)
basis/editors/lite-xl/authors.txt [new file with mode: 0644]
basis/editors/lite-xl/lite-xl.factor [new file with mode: 0644]
basis/editors/lite-xl/summary.txt [new file with mode: 0644]

diff --git a/basis/editors/lite-xl/authors.txt b/basis/editors/lite-xl/authors.txt
new file mode 100644 (file)
index 0000000..e091bb8
--- /dev/null
@@ -0,0 +1 @@
+John Benediktsson
diff --git a/basis/editors/lite-xl/lite-xl.factor b/basis/editors/lite-xl/lite-xl.factor
new file mode 100644 (file)
index 0000000..3d19317
--- /dev/null
@@ -0,0 +1,10 @@
+USING: editors kernel make namespaces ;
+IN: editors.lite-xl
+
+SINGLETON: lite-xl
+
+editor-class [ lite-xl ] initialize
+
+M: lite-xl editor-command
+    drop
+    [ "open" , "-a" , "Lite XL" , , ] { } make ;
diff --git a/basis/editors/lite-xl/summary.txt b/basis/editors/lite-xl/summary.txt
new file mode 100644 (file)
index 0000000..65af356
--- /dev/null
@@ -0,0 +1 @@
+Lite XL editor integration