Black-macchiato plugin for the Python Language Server
Black-macchiato plugin for the Python Language Server (pyls)
Such functionality is provided by black-macchiato, while
black only formats complete documents
black-macchiato readme for more background).
This plugin works similarly to
pyls-black, but it uses the wrapping functionality from
black-macchiato to enable formatting of (mostly) arbitrary ranges.
$ ~/.local/share/vim-lsp-settings/servers/pyls/venv/bin/pip install pyls-black-macchiato
When formatting, the plugin will use logic similar to what's in
pyls-black to search
pyproject.toml and load its settings from there.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pyls-black-macchiato-0.1.3.tar.gz
Hashes for pyls_black_macchiato-0.1.3-py3-none-any.whl