From 1a83260ff247e156ec81ee703bc2fba7db50582a Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 27 Jan 2020 13:07:08 +0900 Subject: Add sql-language-server --- settings/sql-language-server.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 settings/sql-language-server.vim (limited to 'settings') diff --git a/settings/sql-language-server.vim b/settings/sql-language-server.vim new file mode 100644 index 0000000..a82f166 --- /dev/null +++ b/settings/sql-language-server.vim @@ -0,0 +1,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 -- cgit v1.2.3-54-g00ecf