-
-
Notifications
You must be signed in to change notification settings - Fork 114
Quick start: Racket (stdio)
Racket is a general-purpose, multi-paradigm programming language based on the Scheme dialect of Lisp. It is designed to be a platform for programming language design and implementation.
Conjure starts a Racket REPL within Neovim when you first open a Racket file.
You should be able to evaluate files and forms as you would with other Conjure supported languages right away.
-
Install the latest Neovim.
-
Install the vim-racket plugin for
racket
filetype support. -
Install the Conjure plugin.
-
Install Racket.
-
Ensure you have XREPL by running
,?
in aracket
REPL. -
To use
K
to get documentation for the word under the cursor,,doc <word>
is executed in theracket
REPL. It will open the page on the Racket documentation website if<word>
is found. Test this in a terminal window runningracket
. If the Racket documentation website doesn’t open in your default browser for,doc define
then you’ll need to check how your computer needs to be set up for this.
You should now be able to open any .rkt
file and evaluate as you would normally.
If you’re unsure how to evaluate things with Conjure, please refer to :help conjure
, :help conjure-client-racket-stdio
and :ConjureSchool
(an interactive tutorial).