]> gitweb.factorcode.org Git - factor.git/commitdiff
editors.kakoune: correct vocab and remove old word
authorrazetime <raghuallthetime@hotmail.com>
Mon, 9 Jan 2023 15:03:28 +0000 (20:33 +0530)
committerrazetime <raghuallthetime@hotmail.com>
Mon, 9 Jan 2023 15:04:21 +0000 (20:34 +0530)
basis/editors/kakoune/kakoune.factor

index 92e28211d85c1544da3ad3e32b133e58b4cfe49d..b7a29cdfae9569aa8231fe04f7ebaefb3f8fadb7 100644 (file)
@@ -4,26 +4,22 @@ IN: editors.kakoune
 
 SINGLETON: kakoune
 
-MIXIN: kak-base
-
-INSTANCE: kakoune kak-base
-
 editor-class [ kakoune ] initialize
 
 SYMBOL: kak-path
 
 HOOK: find-kak-path editor-class ( -- path )
 
-M: kak-base find-kak-path "kak" ?find-in-path ;
+M: kakoune find-kak-path "kak" ?find-in-path ;
 
 : actual-kak-path ( -- path )
     \ kak-path get [ find-kak-path ] unless* ;
 
-M: kak-base editor-command
+M: kakoune editor-command
     [
         actual-kak-path dup string? [ , ] [ % ] if
         number>string "+" prepend ,
         ,
     ] { } make  ;
 
-M: kak-base editor-detached? t ;
+M: kakoune editor-detached? t ;