]> gitweb.factorcode.org Git - factor.git/blob - basis/editors/gvim/gvim.factor
Make "foo.private" require load foo instead.
[factor.git] / basis / editors / gvim / gvim.factor
1 USING: editors.vim io.backend kernel namespaces system
2 vocabs editors ;
3 IN: editors.gvim
4
5 ! This code builds on the code in editors.vim; see there for
6 ! more information.
7
8 TUPLE: gvim < vim ;
9 T{ gvim } editor-class set-global
10
11 HOOK: find-gvim-path io-backend ( -- path )
12 M: object find-gvim-path f ;
13
14 M: gvim find-vim-path find-gvim-path "gvim" or ;
15 M: gvim vim-ui? t ;
16 M: gvim editor-detached? t ;
17
18 os windows? [ "editors.gvim.windows" require ] when