2022-03-11 14:03:07 +01:00
|
|
|
let g:ale_set_quickfix = 0
|
|
|
|
let g:ale_set_loclist = 1
|
|
|
|
let g:ale_set_highlights = 1
|
|
|
|
let g:ale_set_signs = 1
|
2022-03-14 16:29:19 +01:00
|
|
|
let g:ale_sign_column_always = 1
|
|
|
|
let g:ale_echo_cursor = 0
|
|
|
|
let g:ale_hover_cursor = 0
|
2022-03-11 14:03:07 +01:00
|
|
|
let g:ale_cursor_detail = 0
|
2022-03-14 16:29:19 +01:00
|
|
|
let g:ale_virtualtext_cursor = 1
|
2022-03-11 14:03:07 +01:00
|
|
|
let g:ale_virtualtext_prefix = "! "
|
|
|
|
|
|
|
|
" Do not lint when open a file
|
|
|
|
let g:ale_lint_on_enter = 0
|
|
|
|
" Do not lint when chaning file type
|
|
|
|
let g:ale_lint_on_filetype_changed = 0
|
|
|
|
|
|
|
|
" Do not interrupt writing to much, wait longer for start linting.
|
|
|
|
let g:ale_lint_delay = 1000
|
|
|
|
" Turn auto linting while writing off
|
|
|
|
let g:ale_lint_on_text_changed = 'never'
|
|
|
|
|
|
|
|
" Configure signs to use
|
|
|
|
let g:ale_sign_error = '>'
|
|
|
|
let g:ale_sign_warning = '!'
|
|
|
|
|
|
|
|
let g:ale_php_phpcs_standard = 'PSR12'
|
2022-05-23 18:28:14 +02:00
|
|
|
|
|
|
|
let g:ale_php_phpstan_executable = 'vendor/bin/phpstan'
|
2023-02-05 16:43:48 +01:00
|
|
|
|
|
|
|
call ale#handlers#languagetool#DefineLinter('rst')
|