factor/basis/editors/gvim/gvim.factor

19 lines
437 B
Factor
Raw Normal View History

USING: editors.vim io.backend kernel namespaces system
vocabs.loader ;
2007-09-20 18:09:08 -04:00
IN: editors.gvim
! This code builds on the code in editors.vim; see there for
! more information.
2008-06-14 05:11:30 -04:00
SINGLETON: gvim
gvim vim-editor set-global
2007-09-20 18:09:08 -04:00
HOOK: find-gvim-path io-backend ( -- path )
M: object find-gvim-path f ;
M: gvim find-vim-path find-gvim-path "gvim" or ;
M: gvim vim-detached? t ;
M: gvim vim-ui? t ;
os windows? [ "editors.gvim.windows" require ] when