sponsor Vim development Vim logo Vim Book Ad

lispcomplete.vim : SLIME-like compound completion for Lisp

 script karma  Rating 9/3, Downloaded by 635  Comments, bugs, improvements  Vim wiki

created by
Andrew Beyer
 
script type
utility
 
description
*** Before using this script, you should check out Limp - http://mikael.jansson.be/hacking/limp/docs/
It gives an experience much closer to SLIME, and is most likely a better solution. ***

An omnifunc that provides SLIME style completion of compound keywords.

e.g.   \"m-v-b<C-X><C-O>\" expands to \"multiple-value-bind\"

This isn't anything close to a reimplementation of SLIME completion, but provides something closer to the default behavior. Most importantly, since there isn't a connection to swank and a live lisp instance, you can only complete static keywords from the syntax file. (like syntaxcomplete.vim -- in fact this started out as a quick munging of that file, and still has lots of its code in there) Also, currently only \"simple\" and \"compound\" modes work, there is no support for \"fuzzy\" completion.
 
install details
put lispcomplete.vim in runtime/autoload
then :setl omnifunc=lispcomplete#Complete
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
lispcomplete.vim 1.0 2007-01-19 6.0 Andrew Beyer Initial upload
ip used for rating: 18.118.145.114

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github