Skip to main content

A deterministic Lisp formatter

Project description

A Lisp formatter

  • Deterministic, like Black and Prettier!
  • Tolerable defaults!
  • Works with at least one Lisp dialect!

Nealean is a deterministic Lisp formatter. It chops your source up and puts it back together again, better.

Install with:

pip3 install --user nelean

Uninstall with:

pip3 uninstall --user nelean

Use with Vim with Neoformat with the hotkey "shift-L" with:

let g:neoformat_scheme_n = { 'exe': 'nelean', 'args': [], 'stdin': 1, 'replace': 0, 'valid_exit_codes': [0], }
let g:neoformat_enabled_scheme = ['n']
nnoremap L :Neoformat<Cr>

Nelean has no dependencies, so you can also just copy nelean.py somewhere in your PATH.

Additional options are availabile via the command line help.

The name comes from a famous professor of penmanship I found on Wikipedia, D'Nelean.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nelean-0.0.5.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page