Skip to content

Parinfer layer #5574

Description

@gilch

Consider adding a parinfer layer.

Parinfer is like a more powerful adjust-parens, and also includes a slightly less aggressive version of aggressive-indent-mode as a separate mode.

Lisp users prefer to read their code by indentation rather than by counting delimiters. Parinfer makes editing Lisp feel more like editing Python. Parinfer gives you most of the power of paredit (and evil-cleverparens for that matter), but is much easier to learn as evidenced by its inclusion in Nightcode.

There is already a parinfer package for emacs. It may need a little work. The inference engine used by other editors seems to work correctly, and the package includes a direct translation of it into emacs lisp. But the emacs integration doesn't work as well as the other editors I've tried. Sometimes the point doesn't end up where I expect. It may need some adjustments to play nice with evil. LightTable has independent plugins for both Vim keys and Parinfer that work well together, so I don't expect this to be a problem for long. These are minor issues the spacemacs community could fix quickly once a layer is available for testing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions