diff --git a/README.md b/README.md index 6496e9c5..56828bae 100644 --- a/README.md +++ b/README.md @@ -678,7 +678,7 @@ Default: `[see next line]` \ 'cpp,objcpp' : ['->', '.', '::'], \ 'perl' : ['->'], \ 'php' : ['->', '::'], - \ 'cs,java,javascript,d,vim,ruby,python,perl6,scala,vb,elixir' : ['.'], + \ 'cs,java,javascript,d,vim,ruby,python,perl6,scala,vb,elixir,go' : ['.'], \ 'lua' : ['.', ':'], \ 'erlang' : [':'], \ } diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim index 38b4e414..2cef90f0 100644 --- a/plugin/youcompleteme.vim +++ b/plugin/youcompleteme.vim @@ -108,7 +108,7 @@ let g:ycm_semantic_triggers = \ 'cpp,objcpp' : ['->', '.', '::'], \ 'perl' : ['->'], \ 'php' : ['->', '::'], - \ 'cs,java,javascript,d,vim,ruby,python,perl6,scala,vb,elixir' : ['.'], + \ 'cs,java,javascript,d,vim,ruby,python,perl6,scala,vb,elixir,go' : ['.'], \ 'lua' : ['.', ':'], \ 'erlang' : [':'], \ } )