aboutsummaryrefslogtreecommitdiff
path: root/settings/sql-language-server.vim
blob: a82f16697c33234f4d77b2616280936258c39d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
augroup vimlsp_settings_sql_language_server
  au!
  LspRegisterServer {
      \ 'name': 'sql-language-server',
      \ 'cmd': {server_info->lsp_settings#get('sql-language-server', 'cmd', [lsp_settings#exec_path('sql-language-server'), 'up', '--method', 'stdio'])},
      \ 'root_uri':{server_info->lsp_settings#get('sql-language-server', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))},
      \ 'initialization_options': lsp_settings#get('sql-language-server', 'initialization_options', v:null),
      \ 'whitelist': lsp_settings#get('sql-language-server', 'whitelist', ['sql']),
      \ 'blacklist': lsp_settings#get('sql-language-server', 'blacklist', []),
      \ 'config': lsp_settings#get('sql-language-server', 'config', {}),
      \ 'workspace_config': lsp_settings#get('sql-language-server', 'workspace_config', {}),
      \ }
augroup END