X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/84e22b75c6baeb231dee52b7bd086f547063e0e4..893dd952a5e128ae71d9e9c93504d9a1092388a6:/README.md 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