Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when formatting over 8K of Python? #316

Open
jgarbers opened this issue Sep 15, 2020 · 0 comments
Open

Error when formatting over 8K of Python? #316

jgarbers opened this issue Sep 15, 2020 · 0 comments

Comments

@jgarbers
Copy link

I'm running the current Neoformat under Neovim 0.3.7, formatting Python code with black v20.8b1 on macOS 10.15.6. When I invoke Neoformat on certain open buffers, I get the following error:


Error detected while processing function neoformat#Neoformat[5]..<SNR>132_neoformat:
line   74:
E5677: Error writing input to shell-command: EPIPE

After a bit of trial and error, it seems like if the buffer is over 8K when saved, formatting fails; if under 8K, it works. Any suggestions about what might be happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant