diff options
author | Matthew Lemon <y@yulqen.org> | 2023-09-25 17:44:12 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-09-25 17:44:12 +0100 |
commit | c383fba482f628bba791df1fd777298b99bc7798 (patch) | |
tree | 0573b931a145f5291c4c33fd238d6380f3be83fe /vim/vimrc | |
parent | ea1242fc7047852beb68f07340ed21ee59c008c8 (diff) |
Makes ALE a little better
Diffstat (limited to '')
-rw-r--r-- | vim/vimrc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -167,8 +167,8 @@ autocmd BufEnter *.html,*.slim if s:is_tailwind() | " ALE {{{ let g:ale_enabled = 1 let g:ale_echo_msg_format = '[%linter%] %s [%severity%]' -let g:ale_sign_error = '✘' -let g:ale_sign_warning = '⚠' +let g:ale_sign_error = '!' +let g:ale_sign_warning = '?' let g:ale_lint_on_text_changed = 0 let g:ale_hover_cursor = 0 let g:ale_virtualtext_cursor = 'disabled' @@ -179,10 +179,10 @@ let g:ale_set_signs = 1 let g:ale_set_loclist = 1 let g:ale_set_quickfix = 1 let g:ale_echo_cursor = 1 -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_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': ['pyright', 'flake8', 'mypy'], \ 'ocaml': ['merlin'], \ 'javascript': ['eslint'], @@ -205,7 +205,7 @@ let g:ale_python_mypy_options = '--config-file mypy.ini' " let g:ale_sign_error = '>>' let g:ale_fix_on_save = 1 let g:ale_linters_explicit = 0 -" set omnifunc=ale#completion#OmniFunc +set omnifunc=ale#completion#OmniFunc " }}} " :grep use ripgrep {{{ if executable('rg') |