:lang racket

A DSL for DSLs

1. Description

This module provides integration for racket-mode.

1.1. Maintainers

This module has no dedicated maintainers. Become a maintainer?

1.2. Module flags

Enables LSP support. Requires jeapostrophe/racket-langserver.
Enables explore mode, which “analyzes expanded code to explain and explore.”

1.4. Hacks

No hacks documented for this module.

2. Prerequisites

This module only requires racket. Install it directly from the racket website, or check your package manger.

2.1. Arch Linux

$ pacman -S racket

Or, for fewer dependencies:

$ pacman -S racket-minimal

3. TODO Usage

This module has no usage documentation yet. Write some?

4. TODO Configuration

This module’s configuration documentation is incomplete. Complete it?

4.1. racket-smart-open-bracket-mode

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

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

4.2. 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 use:

;; add to $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.

5. Troubleshooting

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

6. TODO Appendix

This module has no appendix yet. Write one?