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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file nelean-0.0.5.tar.gz
.
File metadata
- Download URL: nelean-0.0.5.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a789619e2d9d343e3ef48fe16f33c9366d5da02bf8a961e7958183e05100812 |
|
MD5 | 9172306e035d4f2464c166fa98df17c8 |
|
BLAKE2b-256 | db949bf593deb2e082a66f77abf08b4343acd2781925f4a343f6ec3176e07073 |