From bae3665602c73132cdaff7c2b1181cf607519482 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Mon, 25 Feb 2013 19:09:24 -0800 Subject: [PATCH] Adding semantic triggers for Go --- README.md | 2 +- plugin/youcompleteme.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' : [':'], \ } )