aboutsummaryrefslogtreecommitdiff
path: root/settings/sourcekit-lsp.vim
blob: 28b87205c70571a05c0d9a602de85d0e1cc5767e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
augroup vimlsp_settings_sourcekit_lsp
  au!
  LspRegisterServer {
      \ 'name': 'sourcekit-lsp',
      \ 'cmd': {server_info->lsp_settings#get('sourcekit-lsp', 'cmd', [lsp_settings#exec_path('sourcekit-lsp')])},
      \ 'root_uri':{server_info->lsp_settings#get('sourcekit-lsp', 'root_uri', lsp_settings#root_uri('sourcekit-lsp'))},
      \ 'initialization_options': lsp_settings#get('sourcekit-lsp', 'initialization_options', {}),
      \ 'whitelist': lsp_settings#get('sourcekit-lsp', 'whitelist', ['swift']),
      \ 'blacklist': lsp_settings#get('sourcekit-lsp', 'blacklist', []),
      \ 'config': lsp_settings#get('sourcekit-lsp', 'config', lsp_settings#server_config('sourcekit-lsp')),
      \ 'workspace_config': lsp_settings#get('sourcekit-lsp', 'workspace_config', {}),
      \ 'semantic_highlight': lsp_settings#get('sourcekit-lsp', 'semantic_highlight', {}),
      \ }
augroup END