From: Andrew Thorp Date: Sun, 20 Oct 2019 14:26:17 +0000 (-0400) Subject: Update README.md (#906) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/893dd952a5e128ae71d9e9c93504d9a1092388a6?hp=9027ca63cac2b5ed24117ea6f5b6e760f1f2e11d Update README.md (#906) Add Kakoune integration instructions --- diff --git a/README.md b/README.md index 0d14b68..ddca8a4 100644 --- a/README.md +++ b/README.md @@ -810,6 +810,14 @@ the [Python Language Server](https://github.com/palantir/python-language-server) Use [python-black](https://atom.io/packages/python-black). +### Kakoune + +Add the following hook to your kakrc, then run black with `:format`. +``` +hook global WinSetOption filetype=python %{ + set-option window formatcmd 'black -q -' +} +``` ### Other editors