vim should work again

db4
Doug Coleman 2008-04-18 14:02:11 -05:00
parent b435bdacbd
commit 8635a0ee2f
1 changed files with 4 additions and 3 deletions

View File

@ -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 ;
<process> swap >>command
vim-detach get-global [ t >>detached ] when
try-process ;
"vim" vim-path set-global
[ vim-location ] edit-hook set-global