Commit Graph

4 Commits

Author SHA1 Message Date
Łukasz Langa
75a9447448 Don't crash the Vim plugin
Fixes #312
2018-06-07 11:40:41 -07:00
Matthew Walster
e5f5d54a22 vim: add "--skip-string-normalization" support (#310)
Since 18.6b0 was released, there has been a new option to skip string
normalization when Black is called, but it wasn't able to be specified
from within the vim plugin. This commit adds that functionality.

Tested with g:black_skip_string_normalization set to 0 (off) and 1 (on).
2018-06-06 15:45:17 -07:00
Codey Oxley
e196180a0d Addresses #174 Neovim Error (#197)
Neovim uses stdout for `msgpack` communication and the `subprocess` call for `virtualenv` was leaking that stream. Fix is to attach to a `subprocess.PIPE`.
2018-05-08 21:08:25 -07:00
Josh Holland
337a4199f9 Add install instructions for Vim plugin (#131) 2018-04-24 09:36:28 -07:00