aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-11 23:08:35 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-11 23:08:35 +0900
commitb0d2115058e38e73a8520808ef07c05f74f35421 (patch)
tree9b4c331d6216990e6a4eab702f07936ef5a193cd /settings
parentc69a2666210f31d52823a4a3faacaeaff732ae3f (diff)
downloadvim-lsp-settings-add-sqls.tar.gz
vim-lsp-settings-add-sqls.tar.bz2
vim-lsp-settings-add-sqls.zip
Add sqlsadd-sqls
Diffstat (limited to 'settings')
-rw-r--r--settings/sqls.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/sqls.vim b/settings/sqls.vim
new file mode 100644
index 0000000..8075fa4
--- /dev/null
+++ b/settings/sqls.vim
@@ -0,0 +1,13 @@
+augroup vimlsp_settings_sqls
+ au!
+ LspRegisterServer {
+ \ 'name': 'sqls',
+ \ 'cmd': {server_info->lsp_settings#get('sqls', 'cmd', [lsp_settings#exec_path('sqls')])},
+ \ 'root_uri':{server_info->lsp_settings#get('sqls', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))},
+ \ 'initialization_options': lsp_settings#get('sqls', 'initialization_options', {}),
+ \ 'whitelist': lsp_settings#get('sqls', 'whitelist', ['sql']),
+ \ 'blacklist': lsp_settings#get('sqls', 'blacklist', []),
+ \ 'config': lsp_settings#get('sqls', 'config', {}),
+ \ 'workspace_config': lsp_settings#get('sqls', 'workspace_config', {}),
+ \ }
+augroup END