vim should work again
parent
b435bdacbd
commit
8635a0ee2f
|
@ -1,5 +1,5 @@
|
||||||
USING: definitions io io.launcher kernel math math.parser
|
USING: definitions io io.launcher kernel math math.parser
|
||||||
namespaces parser prettyprint sequences editors ;
|
namespaces parser prettyprint sequences editors accessors ;
|
||||||
IN: editors.vim
|
IN: editors.vim
|
||||||
|
|
||||||
SYMBOL: vim-path
|
SYMBOL: vim-path
|
||||||
|
@ -17,8 +17,9 @@ M: vim vim-command ( file line -- array )
|
||||||
|
|
||||||
: vim-location ( file line -- )
|
: vim-location ( file line -- )
|
||||||
vim-command
|
vim-command
|
||||||
vim-detach get-global
|
<process> swap >>command
|
||||||
[ try-detached ] [ try-process ] if ;
|
vim-detach get-global [ t >>detached ] when
|
||||||
|
try-process ;
|
||||||
|
|
||||||
"vim" vim-path set-global
|
"vim" vim-path set-global
|
||||||
[ vim-location ] edit-hook set-global
|
[ vim-location ] edit-hook set-global
|
||||||
|
|
Loading…
Reference in New Issue