Parinfer-rust

Jul 20, 2023

Infer parentheses for Clojure, Lisp, and Scheme

A full-featured, super fast implementation of Shaun Lebron’s parinfer.

Parinfer is a proof-of-concept editor mode for Lisp programming languages. It simplifies the way we write Lisp by auto-adjusting parens when indentation changes and vice versa. The hope is to make basic Lisp-editing easier for newcomers and experts alike, while still allowing existing plugins like Paredit to satisfy the need for more advanced operations.

Parinfer-rust comes with plugins for Kakoune, Vim8, and Neovim. The Rust library can be called from other editors that can load dynamic libraries.

This plugin implements “smart” mode. Rather than switching between “paren” mode and “indent” mode, parinfer uses information about how the user is changing the file to decide what to do.



Checkout these related ports:
  • Zile - Small emacs-like text editor
  • Yudit - Multi-lingual Unicode text editor with TTF support
  • Xvile - VI Like Emacs -- X11 version
  • Xmlcopyeditor - Fast validating XML editor
  • Xi-term - Terminal frontend for xi-editor
  • Xi-core - Modern editor backend written in Rust
  • Xed - Small but powerful text editor for GTK
  • Xcoral - Multiwindow mouse-based text editor for X
  • Wxhexeditor - Graphical hex editor for big files with x86 disassembly support
  • Wordgrinder - Simple Unicode-aware console and X11-based word processor
  • With-editor - Use the Emacsclient as the $$EDITOR of child processes
  • With-editor-devel - Use the Emacsclient as the $$EDITOR of child processes
  • Web-mode - Autonomous Emacs major-mode for editing web templates
  • Vscode - Visual Studio Code - Open Source ("Code - OSS")
  • Vis - Vi-like editor based on Plan 9's structural regular expressions