From 729638095e670821af5c7c63ff4335a369a2e7db Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 20 Apr 2023 11:17:10 +0100 Subject: Changes ALE config - switches off and removes ruff --- vim/vimrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index e0583fa..742524f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -233,12 +233,13 @@ nmap t :TestVisit let g:vim_markdown_folding_disabled = 1 " " ALE ale config +let g:ale_enabled = 0 let g:ale_echo_msg_format = '[%linter%] %s [%severity%]' let g:ale_sign_error = '✘' let g:ale_sign_warning = '⚠' let g:ale_lint_on_text_changed = 0 -let g:ale_hover_cursor = 1 -let g:ale_enabled = 1 +let g:ale_hover_cursor = 0 +let g:ale_virtualtext_cursor = 'disabled' let g:ale_sign_column_always = 1 let g:ale_open_list = 0 let g:ale_set_highlights = 1 @@ -250,7 +251,7 @@ let g:ale_echo_msg_error_str = 'Error' let g:ale_echo_msg_format = '%linter% - %code: %%s' let g:ale_loclist_msg_format = '%linter% - %code: %%s' let g:ale_echo_msg_warning_str = 'Warning' -let g:ale_linters = {'python': ['ruff', 'flake8', 'mypy'], +let g:ale_linters = {'python': ['flake8', 'mypy'], \ 'ocaml': ['merlin'], \ 'cpp': ['clang'], \ 'yaml': ['yamllint'], @@ -258,7 +259,7 @@ let g:ale_linters = {'python': ['ruff', 'flake8', 'mypy'], \ 'go': ['gopls', 'golint', 'gofmt'], \} let g:ale_fixers = { -\ 'python': ['ruff', 'isort', 'yapf', 'black'], +\ 'python': ['isort', 'yapf', 'black'], \ 'go': ['gofmt'], \ 'rust': ['rustfmt'] \ } -- cgit v1.2.3