From cac0bd8b58fe2d6e41fab43dd430d9f2346b3a7e Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 12 Sep 2024 09:14:47 +0100 Subject: Adds ruff to Ale config --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 2ea57fc..708191d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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'], -- cgit v1.2.3