Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion ftplugin/php.vim
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,13 @@ endif
try
" register and start phan language server
" TODO: Add a vim variable to configure extra options
call LanguageClient_registerServerCommands({'php': (s:cmd)})
" call LanguageClient_registerServerCommands({'php': (s:cmd)})
" pip install python-language-server
au User lsp_setup call lsp#register_server({
\ 'name': 'phan',
\ 'cmd': {server_info->s:cmd},
\ 'whitelist': ['php', 'html'],
\ })
" LanguageClientStart
catch
" do nothing
Expand Down