aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2020-01-21 13:26:24 +0900
committerGitHub <noreply@github.com>2020-01-21 13:26:24 +0900
commitd506e5e628b259e23002a54923ed27125639b7e7 (patch)
treea31aaa516523a7faf16926d8aad64aee9098bde0 /settings
parentb5760117d42a3e8e4aa3953ed252438866ea40aa (diff)
parentd47a625e3a2c65a90081204acadfc4dbbaeb3b98 (diff)
downloadvim-lsp-settings-d506e5e628b259e23002a54923ed27125639b7e7.tar.gz
vim-lsp-settings-d506e5e628b259e23002a54923ed27125639b7e7.tar.bz2
vim-lsp-settings-d506e5e628b259e23002a54923ed27125639b7e7.zip
Merge pull request #91 from ishitaku5522/vue-language-server
Add vue-language-server
Diffstat (limited to 'settings')
-rw-r--r--settings/vls.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/vls.vim b/settings/vls.vim
new file mode 100644
index 0000000..4d74fa3
--- /dev/null
+++ b/settings/vls.vim
@@ -0,0 +1,13 @@
+augroup vimlsp_settings_vls
+ au!
+ LspRegisterServer {
+ \ 'name': 'vls',
+ \ 'cmd': {server_info->lsp_settings#get('vls', 'cmd', [lsp_settings#exec_path('vls')])},
+ \ 'root_uri':{server_info->lsp_settings#get('vls', 'root_uri', lsp_settings#root_uri(['.git/', 'package.json']))},
+ \ 'initialization_options': lsp_settings#get('vls', 'initialization_options', {}),
+ \ 'whitelist': lsp_settings#get('vls', 'whitelist', ['vue']),
+ \ 'blacklist': lsp_settings#get('vls', 'blacklist', []),
+ \ 'config': lsp_settings#get('vls', 'config', {}),
+ \ 'workspace_config': lsp_settings#get('vls', 'workspace_config', {}),
+ \ }
+augroup END