Diagnostic messages disappear when save file #3721
Unanswered
kongjun18
asked this question in
Q&A - Ask for help with problems
Replies: 2 comments 9 replies
-
|
I have this exact problem let g:ale_lint_on_text_changed = 'always'
let g:ale_fix_on_save = 1
let g:ale_fixers = {'javascript': ['prettier', 'eslint'], 'python': ['black', 'isort'], 'rust': ['rustfmt']}
let g:ale_disable_lsp = 1
let g:ale_set_highlights = 0
let g:ale_echo_msg_format = '[%linter%] (%code%) - %s'
let g:ale_linters_explicit = 1
let g:ale_linters = {'javascript': ['prettier', 'eslint'], 'python': ['flake8']}
let g:ale_lint_on_save = 1
let g:ale_lint_on_enter = 1
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Hi @kongjun18 , try setting those configs before loading ale plugin |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use both ALE and coc.nvim(ccls) under the instructions of README. When I save file, all diagnostic messages disappear. coc.nvim seem to lint code when leave insert mode and change in normal mode. When I type some text and then exit insert mode or modify in normal mode, all diagnostic messages appear.
How could I make ALE keep diagnostic messages?
My ALE configuration:
Screenshot:

Beta Was this translation helpful? Give feedback.
All reactions