This is a feature request to add an mzscheme USE flag to app-editors/vim and app-editors/gvim so that they can be compiled with mzscheme support. To do so all you have to do is make sure dev-scheme/plt-scheme has been emerged and add --enable-mzschemeinterp to the flags used by ./configure Reproducible: Always
One way or another, this will have to wait. The status of dev-scheme/plt-scheme is not very good. Firstly I have to port racket to the main tree (see bug #324161). I would resolve this as LATER, but I let the vim maintainers to take a look at what you propose first.
(background note: plt-scheme has been renamed to racket, and the vim support for it has been updated to use 'racket' since vim-7.3.049) We've been discussing this on the gentoo-lisp herd mailing list, and I have a small patch to the existing vim.eclass which enables both tcl and racket (was mzscheme) support. Its tested and works fine, with the following caveats: 1) obviously, it needs dev-scheme/racket, which is currently only available in the 'lisp' overlay (as per comment 1 above) 2) we need a fix (either upstream, or in our dev-scheme/racket ebuild) to remove the leftover /usr/bin/mzscheme binary, and link that to /usr/bin/racket instead. This issue has already being discussed in the gentoo-lisp mailing list, and has been raised upstream. 3) there is a small bug in one of the configure scripts used during the build process to detect where the existing racket scheme in installed. This is easily bypassed by specifying --with-plthome=/usr/ , which is the only place a dev-scheme/racket ebuild would install it to anyway. Its a minor workaround until this issue is fixed upstream.
Created attachment 269879 [details, diff] patches eclass/vim.eclass to add support for dev-scheme/racket This patch uses a 'racket' USE flag (not mzscheme)
issue 2) is fixed upstream and compatibility programs like mzscheme should now work.
Issues 1) and 3) appear to be fixed as well. I have been able to get this working on vim-7.3.409 with no trouble.
Added to 7.4.94.