aboutsummaryrefslogtreecommitdiff
path: root/settings/powershell-languageserver.vim
blob: 6596876f57fb497e1ab0fe448ba75d9a1eb71139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
augroup vimlsp_settings_powershell_languageserver
  au!
  LspRegisterServer {
      \ 'name': 'powershell-languageserver',
      \ 'cmd': {server_info->lsp_settings#get('powershell-languageserver', 'cmd', [lsp_settings#exec_path('powershell-languageserver')])},
      \ 'root_uri':{server_info->lsp_settings#get('powershell-languageserver', 'root_uri', lsp_settings#root_uri('powershell-languageserver'))},
      \ 'initialization_options': lsp_settings#get('powershell-languageserver', 'initialization_options', v:null),
      \ 'whitelist': lsp_settings#get('powershell-languageserver', 'whitelist', ['ps1']),
      \ 'blacklist': lsp_settings#get('powershell-languageserver', 'blacklist', []),
      \ 'config': lsp_settings#get('powershell-languageserver', 'config', lsp_settings#server_config('powershell-languageserver')),
      \ 'workspace_config': lsp_settings#get('powershell-languageserver', 'workspace_config', {}),
      \ }
augroup END