Code completions for Racket or Scheme #637
Replies: 3 comments 2 replies
-
Yes I'm afraid that completion support requires each client to implement a function that provides the completions in that language. Depending on the client this ranges from trivial to impossible to implement. The client feature matrix can be found here, it may well have drifted out of sync though (corrections are appreciated!) https://github.com/Olical/conjure/wiki/Client-features The last section of |
Beta Was this translation helpful? Give feedback.
-
To restate what @Olical answered, For anyone who would like to implement completions for Conjure clients, the wiki page on Client Features says:
I tried to do this for the Common List client but it needs a bit more testing and feedback from people who use that client. The Common List client needs much more love, too, but that's another story. For the Racket and the Scheme clients, implementing the I'm a total newbie to Scheme and Racket so I'm guessing about what a completions module for Scheme would be but a quick web search suggests these as possible starting points to dive into: |
Beta Was this translation helpful? Give feedback.
-
@ZovutVanya, you said that you have In the |
Beta Was this translation helpful? Give feedback.
-
I am completely new to all the lisp stuff and relatively new to neovim. I am now working through the SICP book and for that reason got into the Scheme/Racket (my options are mit-scheme in WSL and Racket with #lang sicp on Windows)
My main question is on completions. Conjure says it supports completions through several plugins, I use nvim-cmp, and for that the cmp-conjure plugin is suggested. But I still don't have completions after setting it up. Maybe the completions are only supported for the more popular lisps like Clojure? I just am not aware how to know for sure
If there are ways to add completions for Racket or Scheme with conjure, please let me know!
My lazy setup is straight from the conjure github:
Beta Was this translation helpful? Give feedback.
All reactions