spacemacs/layers/+misc/parinfer
duianto b7cbcb5ed5 [parinfer] Fix: Wrong number of arguments: setq, 5
cause:
The spacemacs|add-toggle expression,
ended up in the combined setq above.

additional changes:
Separated the combined setqs, to make it
easier see where each assignment starts.

Wrapped the lines at 80 chars to reduce
the need to scroll horizontally.
2021-03-08 10:31:43 +01:00
..
img
README.org [parinfer] Switch implementation to parinfer-rust-mode 2021-03-07 23:09:22 +01:00
packages.el [parinfer] Fix: Wrong number of arguments: setq, 5 2021-03-08 10:31:43 +01:00

README.org

Parinfer layer

/TakeV/spacemacs/media/commit/4a4557c3c80ccf59bcc2671e09bfee862d694363/layers/+misc/parinfer/img/parinfer.png

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

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.

Configuration

This package comes preconfigured to auto install the native library in your cache directory. It uses the new smart-mode instead of the indent-mode traditionally used with parinfer. For the autoinstallation curl is required to be in your path.

If you still want to manually configure it please check the respective package repo here.

Key bindings

Key binding Description
SPC t P Toggle between parinfer smart indent and paren mode