1 USING: editors io.pathnames io.standard-paths kernel make
2 math.parser namespaces sequences system ;
8 editor-class [ lapce ] initialize
10 HOOK: find-lapce-path os ( -- path )
12 M: object find-lapce-path f ;
14 M: macosx find-lapce-path
15 "io.lapce" find-native-bundle [
16 "Contents/MacOS/lapce" append-path
21 : lapce-path ( -- path )
23 find-lapce-path [ "lapce" ?find-in-path ] unless*
26 M: lapce editor-command
27 [ lapce-path , drop , ] { } make ;