change editors.gvim to use the os singletons

db4
Doug Coleman 2008-04-02 18:30:52 -05:00
parent 28d804d2c4
commit 5db2e8570a
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,8 @@
USING: io.unix.backend kernel namespaces editors.gvim.backend ; USING: io.unix.backend kernel namespaces editors.gvim.backend
system ;
IN: editors.gvim.unix IN: editors.gvim.unix
M: unix-io gvim-path M: unix gvim-path
\ gvim-path get-global [ \ gvim-path get-global [
"gvim" "gvim"
] unless* ; ] unless* ;

View File

@ -1,8 +1,8 @@
USING: editors.gvim.backend io.files io.windows kernel namespaces USING: editors.gvim.backend io.files io.windows kernel namespaces
sequences windows.shell32 io.paths ; sequences windows.shell32 io.paths system ;
IN: editors.gvim.windows IN: editors.gvim.windows
M: windows-io gvim-path M: windows gvim-path
\ gvim-path get-global [ \ gvim-path get-global [
program-files "vim" append-path program-files "vim" append-path
t [ "gvim.exe" tail? ] find-file t [ "gvim.exe" tail? ] find-file