summaryrefslogtreecommitdiff
path: root/_config/201-ale.vim
blob: 2d491f618762938366a8cacac570cf08ac3ccc69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if empty(globpath(&rtp, 'autoload/ale.vim'))
  finish
endif

let g:ale_sign_warning = '▲'
let g:ale_sign_error = '✗'

highlight link ALEWarningSign String
highlight link ALEErrorSign Title

let g:ale_fixers = {
\   '*': ['remove_trailing_lines', 'trim_whitespace'],
\   'php': ['php_cs_fixer'],
\}

let g:ale_php_phpstan_level = '0'

let g:ale_python_pylint_options = '--load-plugins pylint_django'

nnoremap <silent> ]w  :ALENext<CR>
nnoremap <silent> [w  :ALEPrevious<CR>