" LSP client
Plug 'dense-analysis/ale'

let g:ale_php_langserver_executable = expand('~/.config/composer/vendor/phpactor/language-server/bin/serve.php')

let g:ale_linters = {
\   'php': ['phpcs', 'phpstan', 'psalm', 'ctags'],
\}

let g:ale_php_ctags_executable = 'ctags'

" Enable completion where available.
" This setting must be set before ALE is loaded.
"
" You should not turn this setting on if you wish to use ALE as a completion
" source for other completion plugins, like Deoplete.
let g:ale_completion_enabled = 0
let g:ale_sign_column_always = 1
let g:ale_lint_delay = 500
