diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim index 225f6f7f..38b4e414 100644 --- a/plugin/youcompleteme.vim +++ b/plugin/youcompleteme.vim @@ -106,7 +106,8 @@ let g:ycm_semantic_triggers = \ 'c' : ['->', '.'], \ 'objc' : ['->', '.'], \ 'cpp,objcpp' : ['->', '.', '::'], - \ 'perl,php' : ['->'], + \ 'perl' : ['->'], + \ 'php' : ['->', '::'], \ 'cs,java,javascript,d,vim,ruby,python,perl6,scala,vb,elixir' : ['.'], \ 'lua' : ['.', ':'], \ 'erlang' : [':'],