From 91ad6b301f156a827fcb1516c2228c24b7b309ce Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 25 Dec 2019 17:12:46 +0900 Subject: Rename to intelephense --- settings/intelephense-server.vim | 12 ------------ settings/intelephense.vim | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 settings/intelephense-server.vim create mode 100644 settings/intelephense.vim (limited to 'settings') diff --git a/settings/intelephense-server.vim b/settings/intelephense-server.vim deleted file mode 100644 index 5c0f79c..0000000 --- a/settings/intelephense-server.vim +++ /dev/null @@ -1,12 +0,0 @@ -augroup vimlsp_settings_intelephense_server - au! - LspRegisterServer { - \ 'name': 'intelephense', - \ 'cmd': {server_info->lsp_settings#get('intelephense', 'cmd', [lsp_settings#exec_path('intelephense-server'), '--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 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 -- cgit v1.2.3-54-g00ecf