lang/racket: add +lsp flag

And add link to racket's README.
This commit is contained in:
Henrik Lissner 2021-07-12 19:18:34 -04:00
parent aad7bc521f
commit 8b95aa5d3e
3 changed files with 5 additions and 1 deletions

View file

@ -23,6 +23,7 @@ This module provides integration for [[https://github.com/greghendershott/racket
This module has no dedicated maintainers.
** Module Flags
+ =+lsp= Enables LSP support. Requires jeapostrophe/racket-langserver.
+ =+xp= Enables the explore mode, which "analyzes expanded code to explain and explore."
** Plugins

View file

@ -26,6 +26,9 @@
#'rainbow-delimiters-mode
#'highlight-quoted-mode)
(when (featurep! +lsp)
(add-hook 'racket-mode-local-vars-hook #'lsp!))
(when (featurep! +xp)
(add-hook 'racket-mode-local-vars-hook #'racket-xp-mode)
;; Both flycheck and racket-xp produce error popups, but racket-xp's are