aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-18 22:09:36 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-18 22:09:36 +0900
commit065558f9898fe96d2cd6afbdba96bb24fe22b6d3 (patch)
treeda4768d2e4e7329fcd9738e37fe7761ed7087963 /settings
parent42b7d395f17c1b677a53d8bec593365614e3ea7c (diff)
downloadvim-lsp-settings-065558f9898fe96d2cd6afbdba96bb24fe22b6d3.tar.gz
vim-lsp-settings-065558f9898fe96d2cd6afbdba96bb24fe22b6d3.tar.bz2
vim-lsp-settings-065558f9898fe96d2cd6afbdba96bb24fe22b6d3.zip
Add 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..a80e6ab
--- /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())},
+ \ 'initialization_options': lsp_settings#get('sqls', 'initialization_options', v:null),
+ \ 'whitelist': lsp_settings#get('sqls', 'whitelist', ['sql']),
+ \ 'blacklist': lsp_settings#get('sqls', 'blacklist', []),
+ \ 'config': lsp_settings#get('sqls', 'config', lsp_settings#server_config('sqls')),
+ \ 'workspace_config': lsp_settings#get('sqls', 'workspace_config', {}),
+ \ }
+augroup END