17 lines
431 B
Factor
Executable File
17 lines
431 B
Factor
Executable File
USING: io.backend io.files kernel math math.parser
|
|
namespaces sequences system combinators
|
|
editors.vim editors.gvim.backend vocabs.loader ;
|
|
IN: editors.gvim
|
|
|
|
SINGLETON: gvim
|
|
|
|
M: gvim vim-command ( file line -- string )
|
|
[ gvim-path , swap , "+" swap number>string append , ] { } make ;
|
|
|
|
gvim vim-editor set-global
|
|
|
|
{
|
|
{ [ os unix? ] [ "editors.gvim.unix" ] }
|
|
{ [ os windows? ] [ "editors.gvim.windows" ] }
|
|
} cond require
|