aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-03 09:54:55 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-03 09:54:55 +0900
commitbe98522b631e2a41e72bfae076ec3762c0d74c75 (patch)
tree215d9cff6a1edb5d6386d914944b933e521c4878 /settings
parent0b595998efedd45720b7ab304de4708403deb531 (diff)
downloadvim-lsp-settings-be98522b631e2a41e72bfae076ec3762c0d74c75.tar.gz
vim-lsp-settings-be98522b631e2a41e72bfae076ec3762c0d74c75.tar.bz2
vim-lsp-settings-be98522b631e2a41e72bfae076ec3762c0d74c75.zip
Add powershell-languageserver
Diffstat (limited to 'settings')
-rw-r--r--settings/powershell-languageserver.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/powershell-languageserver.vim b/settings/powershell-languageserver.vim
new file mode 100644
index 0000000..380a7ba
--- /dev/null
+++ b/settings/powershell-languageserver.vim
@@ -0,0 +1,13 @@
+augroup vimlsp_settings_powershell_languageserver
+ au!
+ LspRegisterServer {
+ \ 'name': 'powershell-languageserver',
+ \ 'cmd': {server_info->lsp_settings#get('powershell-languageserver', 'cmd', [lsp_settings#exec_path('powershell-languageserver')])},
+ \ 'root_uri':{server_info->lsp_settings#get('powershell-languageserver', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))},
+ \ 'initialization_options': lsp_settings#get('powershell-languageserver', 'initialization_options', v:null),
+ \ 'whitelist': lsp_settings#get('powershell-languageserver', 'whitelist', ['ps1']),
+ \ 'blacklist': lsp_settings#get('powershell-languageserver', 'blacklist', []),
+ \ 'config': lsp_settings#get('powershell-languageserver', 'config', {}),
+ \ 'workspace_config': lsp_settings#get('powershell-languageserver', 'workspace_config', {}),
+ \ }
+augroup END