lang/racket: add +lsp flag
And add link to racket's README.
This commit is contained in:
parent
aad7bc521f
commit
8b95aa5d3e
3 changed files with 5 additions and 1 deletions
|
@ -138,7 +138,7 @@ Modules that bring support for a language or group of languages to Emacs.
|
|||
+ purescript =+lsp= - TODO
|
||||
+ [[file:../modules/lang/python/README.org][python]] =+cython +lsp +pyright +pyenv +conda +poetry= - TODO
|
||||
+ qt - TODO
|
||||
+ racket - TODO
|
||||
+ [[file:../modules/lang/racket/README.org][racket]] =+lsp +xp= - TODO
|
||||
+ [[file:../modules/lang/raku/README.org][raku]] - TODO
|
||||
+ [[file:../modules/lang/rest/README.org][rest]] - TODO
|
||||
+ rst - TODO
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue