diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim index 2da7d75d..b846aefc 100644 --- a/plugin/youcompleteme.vim +++ b/plugin/youcompleteme.vim @@ -125,6 +125,7 @@ let g:ycm_semantic_triggers = \ get( g:, 'ycm_semantic_triggers', { \ 'c' : ['->', '.'], \ 'objc' : ['->', '.'], + \ 'ocaml' : ['.', '#'], \ 'cpp,objcpp' : ['->', '.', '::'], \ 'perl' : ['->'], \ 'php' : ['->', '::'],