]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Update README.md (#906)
authorAndrew Thorp <andrew.thorp.dev@gmail.com>
Sun, 20 Oct 2019 14:26:17 +0000 (10:26 -0400)
committerŁukasz Langa <lukasz@langa.pl>
Sun, 20 Oct 2019 14:26:17 +0000 (16:26 +0200)
Add Kakoune integration instructions

README.md

index 0d14b6814c19b51ed2f447a82fcd14a948a85765..ddca8a4152a95e1ab6d1388328b9f8a64db643ff 100644 (file)
--- 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