doomemacs/modules/lang/racket
2024-08-09 20:42:33 -04:00
..
autoload.el Disable flycheck in racket-xp-mode 2020-07-26 15:09:05 -04:00
config.el nit: add deprecation comments for projectile config 2024-08-09 20:42:33 -04:00
doctor.el feat(format): add :lang racket formatter 2023-09-13 20:21:00 +01:00
packages.el bump: :lang 2024-06-26 22:58:01 -04:00
README.org docs(*): replace all-the-icons with nerd-icons 2023-09-16 20:19:11 +02:00

:lang racket

Description   unfold

This module adds support for the Racket programming language to Doom Emacs.

Maintainers

This module needs a maintainer. Become a maintainer?

Module flags

+lsp
Enable support for racket-mode. Requires doom-module::tools lsp and a langserver (supports racket-langserver).
+xp
Enable the explore mode (racket-xp-mode), which "analyzes expanded code to explain and explore."

Hacks

No hacks documented for this module.

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module requires racket. Install it from the racket website or through your OS package manger.

Arch Linux

pacman -S racket

Or, for fewer dependencies:

pacman -S racket-minimal

Formatter

Formatting is handled using the doom-module::editor format module via fmt.

TODO Usage

󱌣 This module has no usage documentation yet. Write some?

TODO Configuration

󱌣 This module's configuration documentation is incomplete. Complete it?

racket-smart-open-bracket-mode

racket-smart-open-bracket-mode gets turned off automatically if you use parinfer, lispy. If you wish to enable it:

;; in $DOOMDIR/config.el
(after! racket-mode
  (add-hook 'racket-mode-hook #'racket-smart-open-bracket-mode))

Unicode Input

The optional racket-unicode input method lets you type unicode characters such as λ or π. To enable unicode input for a single buffer, run racket-unicode-input-method-enable. To enable unicode input by default on all racket buffers:

;; in $DOOMDIR/config.el
(add-hook 'racket-mode-hook      #'racket-unicode-input-method-enable)
(add-hook 'racket-repl-mode-hook #'racket-unicode-input-method-enable)

Once enabled, unicode input can be toggled by pressing C-\ or running toggle-input-method.

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

󱌣 This module has no appendix yet. Write one?