diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-12 09:14:47 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-12 09:14:47 +0100 |
commit | cac0bd8b58fe2d6e41fab43dd430d9f2346b3a7e (patch) | |
tree | 5a9fa33e41a8172929718a3f5b0c8406d42bbf50 | |
parent | 0bbdd0494312e018f81f96d86344b37c08407080 (diff) |
Adds ruff to Ale config
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -267,7 +267,7 @@ let g:ale_echo_msg_error_str = 'ALE Error' let g:ale_echo_msg_format = 'ALE: %linter% - %code: %%s' let g:ale_loclist_msg_format = 'ALE: %linter% - %code: %%s' let g:ale_echo_msg_warning_str = 'ALE Warning' -let g:ale_linters = {'python': ['flake8', 'mypy'], +let g:ale_linters = {'python': ['ruff', 'mypy'], \ 'ocaml': ['merlin'], \ 'javascript': ['eslint'], \ 'cpp': ['clangd'], @@ -276,7 +276,7 @@ let g:ale_linters = {'python': ['flake8', 'mypy'], \ 'go': ['gopls', 'golint', 'gofmt'], \} let g:ale_fixers = { -\ 'python': ['isort', 'yapf'], +\ 'python': ['ruff', 'isort', 'yapf'], \ 'javascript': ['eslint'], \ 'go': ['gofmt', 'goimports', 'gopls'], \ 'cpp': ['clang-format'], |