change editors.gvim to use the os singletons
parent
28d804d2c4
commit
5db2e8570a
|
@ -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
|
||||
|
||||
M: unix-io gvim-path
|
||||
M: unix gvim-path
|
||||
\ gvim-path get-global [
|
||||
"gvim"
|
||||
] unless* ;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
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
|
||||
|
||||
M: windows-io gvim-path
|
||||
M: windows gvim-path
|
||||
\ gvim-path get-global [
|
||||
program-files "vim" append-path
|
||||
t [ "gvim.exe" tail? ] find-file
|
||||
|
|
Loading…
Reference in New Issue