aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-20 11:17:10 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-20 11:17:10 +0100
commit729638095e670821af5c7c63ff4335a369a2e7db (patch)
tree5541b2dec6e0be377fd70111fd0ba35a2bb19c88 /vim
parente5bf6eddb57788c7e81d78b86d2d9717f3184f5a (diff)
Changes ALE config - switches off and removes ruff
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e0583fa..742524f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -233,12 +233,13 @@ nmap <silent> t<C-g> :TestVisit<CR>
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']
\ }