I'm trying to use slimv, which is recommended in the answer for another question of mine, under macOS Sierra. However, when I installed this plugin into ~/.vim/plugin
, and ran vi test.lisp
, I got the following error. The beautiful "Slimv" menu was also not shown.
sunqingyaos-MacBook-Air:plugin sunqingyao$ vi ~/.vimrc
Error detected while processing /Users/sunqingyao/.vim/plugin/ftplugin/clojure/slimv-clojure.vim:
line 196:
E117: Unknown function: SlimvInitBuffer
Press ENTER or type command to continue
Note that currently I don't have Clojure installed on my MacBook Air. All what I want to do is to debug some mit-scheme programs inside vim.
Here is the relevant part of ~/.vimrc
:
let g:slimv_swank_cmd = '!osascript -e "tell application \"Terminal\" to do script \"mit-scheme --load ~/.vim/plugin/slime/start-swank.lisp\""'
Version information for vim:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2016 21:22:16)
Included patches: 1-898
Compiled by root@apple.com
I'm a vim newbie who don't know much about vim script, so please explain it in detail to me.