factor/extra/editors/gvim/gvim.factor

17 lines
431 B
Factor
Raw Normal View History

USING: io.backend io.files kernel math math.parser
2008-01-13 12:58:29 -05:00
namespaces sequences system combinators
editors.vim editors.gvim.backend vocabs.loader ;
2007-09-20 18:09:08 -04:00
IN: editors.gvim
2008-06-14 05:11:30 -04:00
SINGLETON: gvim
2007-09-20 18:09:08 -04:00
M: gvim vim-command ( file line -- string )
2008-06-14 05:11:30 -04:00
[ gvim-path , swap , "+" swap number>string append , ] { } make ;
2008-06-14 05:11:30 -04:00
gvim vim-editor set-global
{
2008-04-02 19:25:33 -04:00
{ [ os unix? ] [ "editors.gvim.unix" ] }
{ [ os windows? ] [ "editors.gvim.windows" ] }
} cond require