aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/ale.vim
blob: 104823be259234d71539aad47c7dde81aee96845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let g:ale_linters_explicit = 1
let g:ale_echo_msg_format = '[%linter%] %code: %%s'
let g:ale_lint_on_text_changed = 'normal'
let g:ale_lint_on_insert_leave = 1
let g:ale_sign_error = 'E>'
let g:ale_sign_warning = 'W>'
let g:ale_hover_cursor = 0

let g:ale_linters = {
      \ 'c': ['clangd', 'cc', 'ccls'],
      \ 'go': ['gopls'],
      \ }

nmap <silent> [g <Plug>(ale_previous_wrap)
nmap <silent> ]g <Plug>(ale_next_wrap)

packadd ale