Open leet0rz opened 1 year ago
For Neovim and vim in general, you can forgo using a plugin altogether and call black
on the current buffer from the environment using :!black %
.
I added a custom command to do this with :Black
using the following lua:
vim.api.nvim_create_user_command(
'Black',
function()
vim.cmd('!black %')
end,
{ nargs = 0 }
)
https://black.readthedocs.io/en/stable/integrations/editors.html I found the following link to your docs that tells users how to set it up for vim but how exactly do you set it up for neovim? I am close I think but I am getting the following error even tho I am on the newest version of python and neovim:
Simple, easy to follow documentation for neovim as many of the others have.
Probably none as Black is the best
Add good documentation on how to install Black for neovim.