From 8635a0ee2fe52ea0c1455d844a2d79a9611e2d1d Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Fri, 18 Apr 2008 14:02:11 -0500 Subject: [PATCH] vim should work again --- extra/editors/vim/vim.factor | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/extra/editors/vim/vim.factor b/extra/editors/vim/vim.factor index f632a478be..9ce256868b 100755 --- a/extra/editors/vim/vim.factor +++ b/extra/editors/vim/vim.factor @@ -1,5 +1,5 @@ USING: definitions io io.launcher kernel math math.parser -namespaces parser prettyprint sequences editors ; +namespaces parser prettyprint sequences editors accessors ; IN: editors.vim SYMBOL: vim-path @@ -17,8 +17,9 @@ M: vim vim-command ( file line -- array ) : vim-location ( file line -- ) vim-command - vim-detach get-global - [ try-detached ] [ try-process ] if ; + swap >>command + vim-detach get-global [ t >>detached ] when + try-process ; "vim" vim-path set-global [ vim-location ] edit-hook set-global