diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 17:12:46 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 17:12:46 +0900 |
commit | 91ad6b301f156a827fcb1516c2228c24b7b309ce (patch) | |
tree | eed40c450b38cadb1d3cc239c2948765393c3802 /settings/intelephense.vim | |
parent | 7249d58bb0217d9cc95b0efacdb550f20be95914 (diff) | |
download | vim-lsp-settings-91ad6b301f156a827fcb1516c2228c24b7b309ce.tar.gz vim-lsp-settings-91ad6b301f156a827fcb1516c2228c24b7b309ce.tar.bz2 vim-lsp-settings-91ad6b301f156a827fcb1516c2228c24b7b309ce.zip |
Rename to intelephense
Diffstat (limited to 'settings/intelephense.vim')
-rw-r--r-- | settings/intelephense.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/settings/intelephense.vim b/settings/intelephense.vim new file mode 100644 index 0000000..e57a3e3 --- /dev/null +++ b/settings/intelephense.vim @@ -0,0 +1,12 @@ +augroup vimlsp_settings_intelephense_server + au! + LspRegisterServer { + \ 'name': 'intelephense', + \ 'cmd': {server_info->lsp_settings#get('intelephense', 'cmd', [lsp_settings#exec_path('intelephense'), '--stdio'])}, + \ 'root_uri':{server_info->lsp_settings#get('intelephense', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/'])))}, + \ 'whitelist': lsp_settings#get('intelephense', 'whitelist', ['php']), + \ 'blacklist': lsp_settings#get('intelephense', 'blacklist', []), + \ 'config': lsp_settings#get('intelephense', 'config', {}), + \ 'workspace_config': lsp_settings#get('intelephense', 'workspace_config', {}), + \ } +augroup END |