]>
git.madduck.net Git - etc/vim.git/blobdiff - docs/editor_integration.md
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:
- Output paths to refresh: `$FilePath$`
- Working directory: `$ProjectFileDir$`
- Output paths to refresh: `$FilePath$`
- Working directory: `$ProjectFileDir$`
- - Uncheck "Auto-save edited files to trigger the watcher" in Advanced Options
+ - In Advanced Options
+ - Uncheck "Auto-save edited files to trigger the watcher"
+ - Uncheck "Trigger the watcher on external changes"
- `g:black_linelength` (defaults to `88`)
- `g:black_skip_string_normalization` (defaults to `0`)
- `g:black_virtualenv` (defaults to `~/.vim/black` or `~/.local/share/nvim/black`)
- `g:black_linelength` (defaults to `88`)
- `g:black_skip_string_normalization` (defaults to `0`)
- `g:black_virtualenv` (defaults to `~/.vim/black` or `~/.local/share/nvim/black`)
+- `g:black_quiet` (defaults to `0`)
To install with [vim-plug](https://github.com/junegunn/vim-plug):
To install with [vim-plug](https://github.com/junegunn/vim-plug):
```
mkdir -p ~/.vim/pack/python/start/black/plugin
```
mkdir -p ~/.vim/pack/python/start/black/plugin
-curl https://raw.githubusercontent.com/psf/black/master /plugin/black.vim -o ~/.vim/pack/python/start/black/plugin/black.vim
+curl https://raw.githubusercontent.com/psf/black/stable /plugin/black.vim -o ~/.vim/pack/python/start/black/plugin/black.vim
```
Let me know if this requires any changes to work with Vim 8's builtin `packadd`, or
```
Let me know if this requires any changes to work with Vim 8's builtin `packadd`, or
Use [python-black](https://atom.io/packages/python-black).
Use [python-black](https://atom.io/packages/python-black).
+## Gradle (the build tool)
+
+Use the [Spotless](https://github.com/diffplug/spotless/tree/main/plugin-gradle) plugin.
+
## Kakoune
Add the following hook to your kakrc, then run _Black_ with `:format`.
## Kakoune
Add the following hook to your kakrc, then run _Black_ with `:format`.
Use [Thonny-black-code-format](https://github.com/Franccisco/thonny-black-code-format).
Use [Thonny-black-code-format](https://github.com/Franccisco/thonny-black-code-format).
-Other editors will require external contributions.
+Other editors and tools will require external contributions.