From f78b9dc29ceb49f5d637aa86857c4cb0aa3f0be2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 25 Feb 2013 11:09:51 +0100 Subject: [PATCH] g:ycm_semantic_triggers: add '::' to triggers for PHP --- plugin/youcompleteme.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' : [':'],