aboutsummaryrefslogtreecommitdiff
path: root/settings/intelephense-server.vim
blob: c62fa39d552897dbb40df327fd2ea5bee3a11f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
augroup vimlsp_settings_intelephense_server
  au!
  autocmd User lsp_setup ++once call lsp#register_server({
      \ 'name': 'intelephense',
      \ 'cmd': {server_info->lsp_settings#get('intelephense', 'cmd', [lsp_settings#exec_path('intelephense-server'), '--stdio'])},
      \ 'whitelist': lsp_settings#get('intelephense', 'whitelist', ['php']),
      \ 'blacklist': lsp_settings#get('intelephense', 'blacklist', []),
      \ 'config': lsp_settings#get('intelephense', 'config', {}),
      \ 'workspace_config': lsp_settings#get('intelephense', 'workspace_config', {}),
      \ })
augroup END