aboutsummaryrefslogtreecommitdiff
path: root/settings/perl-languageserver.vim
blob: 56d1d9ca26c3ecdf4261aa61dad4e8dfd7f8ec89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
augroup vimlsp_settings_perl_languageserver
  au!
  LspRegisterServer {
      \ 'name': 'perl-languageserver',
      \ 'cmd': {server_info->lsp_settings#get('perl-languageserver', 'cmd', ['perl', '-MPerl::LanguageServer', '-e', 'Perl::LanguageServer->run'])},
      \ 'root_uri':{server_info->lsp_settings#get('perl-languageserver', 'root_uri', lsp_settings#root_uri('perl-languageserver'))},
      \ 'initialization_options': lsp_settings#get('perl-languageserver', 'initialization_options', v:null),
      \ 'whitelist': lsp_settings#get('perl-languageserver', 'whitelist', ['perl']),
      \ 'blacklist': lsp_settings#get('perl-languageserver', 'blacklist', []),
      \ 'config': lsp_settings#get('perl-languageserver', 'config', lsp_settings#server_config('perl-languageserver')),
      \ 'workspace_config': lsp_settings#get('perl-languageserver', 'workspace_config', {}),
      \ 'semantic_highlight': lsp_settings#get('perl-languageserver', 'semantic_highlight', {}),
      \ }
augroup END