diff --git a/scribblings/racket-langserver.scrbl b/scribblings/racket-langserver.scrbl index bc67ea1..2e9db56 100644 --- a/scribblings/racket-langserver.scrbl +++ b/scribblings/racket-langserver.scrbl @@ -15,21 +15,22 @@ A Racket runtime is a prerequisite, so before using @tt{racket-langserver}, ensu is installed. You can install an from the @hyperlink["https://download.racket-lang.org"]{official download page} or install one from your package manager. -@section{VSCode} - -Use the @hyperlink["https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket"]{Magic Racket} extension. - -@section{Other editors and IDEs} - First, install an LSP runtime for your editor. Next, install the package via @tt{raco}: @commandline{raco pkg install racket-langserver} +@margin-note{To update the @tt{racket-langserver} use +@commandline{raco pkg update racket-langserver}} + Once it is installed, you can configure your editor to use a custom LSP client for Racket files (@tt{.rkt}), and set the command for the custom client to @commandline{racket -l racket-langserver} -You may need to restart your LSP runtime or your editor for `racket-langserver` to start. +You may need to restart your LSP runtime or your editor for @tt{racket-langserver} to start. + +@subsection{VSCode} + +Use the @hyperlink["https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket"]{Magic Racket} extension.