aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-09-25 17:44:12 +0100
committerMatthew Lemon <y@yulqen.org>2023-09-25 17:44:12 +0100
commitc383fba482f628bba791df1fd777298b99bc7798 (patch)
tree0573b931a145f5291c4c33fd238d6380f3be83fe /vim/vimrc
parentea1242fc7047852beb68f07340ed21ee59c008c8 (diff)
Makes ALE a little better
Diffstat (limited to '')
-rw-r--r--vim/vimrc14
1 files changed, 7 insertions, 7 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e97db31..473c13b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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')