doomemacs/modules/lang/racket
2021-05-11 08:01:37 -07:00
..
autoload.el Disable flycheck in racket-xp-mode 2020-07-26 15:09:05 -04:00
config.el Remove racket repl unicode input hook 2020-11-14 15:59:58 -07:00
doctor.el Add Racket lang 2018-07-29 10:50:17 -03:00
packages.el Bump * 2021-03-27 18:27:02 -04:00
README.org [:lang racket] Mention Arch packages 2021-05-11 08:01:37 -07:00

lang/racket

Description

This module provides integration for racket-mode.

Maintainers

This module has no dedicated maintainers.

Module Flags

  • +xp Enables the explore mode, which "analyzes expanded code to explain and explore."

Plugins

Prerequisites

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

Arch Linux

pacman -S racket

Or, for fewer dependencies:

pacman -S racket-minimal

TODO Features

Configuration

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, add the following to your config.el:

(after! racket-mode
  (add-hook! racket-mode
             #'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, add the following hooks to your 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.

TODO Troubleshooting