diff options
author | Max Christian Pohle | 2020-06-26 10:13:58 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-06-26 13:43:27 +0200 |
commit | b68fec17407aa70fdd4cc5c88667ac2d2f49658a (patch) | |
tree | 113528e165b486cbf2069f220bdca949b1dcd18d /plugin/ale.vim | |
parent | dbcaab09f2b1f2b6256364407fa67ee67f3cdc66 (diff) | |
download | vim-b68fec17407aa70fdd4cc5c88667ac2d2f49658a.tar.bz2 vim-b68fec17407aa70fdd4cc5c88667ac2d2f49658a.zip |
Hotfixes to improve compatibility with python
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r-- | plugin/ale.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim new file mode 100644 index 0000000..ba07343 --- /dev/null +++ b/plugin/ale.vim | |||
@@ -0,0 +1,8 @@ | |||
1 | let g:ale_pattern_options = {'\.py$': {'ale_enabled': 1}} | ||
2 | let g:ale_linters = {'python': ['flake8', 'pylint'] } | ||
3 | let g:ale_fixers = | ||
4 | \ { | ||
5 | \ 'python': ['black', 'isort', 'remove_trailing_lines', 'trim_whitespace'], | ||
6 | \ 'bash': ['remove_trailing_lines', 'trim_whitespace'] | ||
7 | \ } | ||
8 | |||