a611a602c0
- Updated layer README.org to include prerequisites - Removed unnecessary layer config variables which are mere re-naming of customization variables from `parinfer-rust-mode`. - Removed the image. |
||
---|---|---|
.. | ||
packages.el | ||
README.org |
Parinfer layer
Description
This layer provides an implementation of parinfer, a lisp editing paradigm that controls indentation based on parentheses or vice versa.
Features:
- Automatic management of parenthesis in Clojure, Emacs Lisp, Common Lisp and Scheme following the parinfer editing paradigm.
- Powered by a native library in the background
Install
Prerequisites
- This layer requires
parinfer-rust
library being installed. See here for the dependencies. - The
parinfer-rust-mode
package requires Emacs compiled with dynamic module support, which can be verified by existence ofMODULES
in the variablesystem-configuration-features
. - Currently, ony *nix system is supported.
Dotfile
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add parinfer
to the existing dotspacemacs-configuration-layers
list in this
file.
(setq-default dotspacemacs-configuration-layers '(pdf))
Configuration
This package comes pre-configured to auto install the native library in your
spacemacs-cache-directory
. If you don't want this, see here for a manual
install option.
parinfer-rust-mode
operates under three modes. By default, it starts in
smart-mode
, and can be toggled via SPC t P
.
Key bindings
Key binding | Description |
---|---|
SPC t P |
Toggle between parinfer smart indent and paren mode |