mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-09 21:41:31 +01:00
vim: improve virtualtext display for ALE issues
This commit is contained in:
parent
1b3178b264
commit
7fa82f6cea
|
@ -101,6 +101,18 @@ let g:ale_sign_info = '--'
|
||||||
"let g:ale_sign_style_warning =
|
"let g:ale_sign_style_warning =
|
||||||
highlight link ALEVirtualTextError ALEError
|
highlight link ALEVirtualTextError ALEError
|
||||||
highlight link ALEVirtualTextWarning ALEWarning
|
highlight link ALEVirtualTextWarning ALEWarning
|
||||||
|
let g:ale_virtualtext_column = "45%"
|
||||||
|
let g:ale_virtualtext_single = 0 " show all errors
|
||||||
|
let g:ale_virtualtext_prefix= "[%linter%] %code: %"
|
||||||
|
let g:ale_exclude_highlights = [
|
||||||
|
\ 'line too long',
|
||||||
|
\]
|
||||||
|
|
||||||
|
|
||||||
|
augroup rust
|
||||||
|
autocmd!
|
||||||
|
autocmd BufRead *.rs let g:ale_set_highlights = 0
|
||||||
|
augroup END
|
||||||
|
|
||||||
let g:ale_completion_symbols = {
|
let g:ale_completion_symbols = {
|
||||||
\ 'text': '',
|
\ 'text': '',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user