Skip to content

Instantly share code, notes, and snippets.

@olajep
Created February 14, 2013 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olajep/4957492 to your computer and use it in GitHub Desktop.
Save olajep/4957492 to your computer and use it in GitHub Desktop.
From 38e779344d296f9f3e72c229f7847415e438b2e0 Mon Sep 17 00:00:00 2001
From: Ola Jeppsson <ola.jeppsson@gmail.com>
Date: Fri, 15 Feb 2013 00:49:41 +0100
Subject: [PATCH] shared_ptr example
---
plugin/youcompleteme.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim
index 0332e79..1a9cafd 100644
--- a/plugin/youcompleteme.vim
+++ b/plugin/youcompleteme.vim
@@ -97,7 +97,7 @@ let g:ycm_global_ycm_extra_conf =
let g:ycm_semantic_triggers =
\ get( g:, 'ycm_semantic_triggers', {
- \ 'c,cpp,objc,objcpp' : ['->', '.', '::'],
+ \ 'c,cpp,objc,objcpp' : ['->', '.', '::', '<'],
\ 'perl,php' : ['->'],
\ 'cs,java,javascript,d,vim,ruby,python,perl6,scala,vb' : ['.'],
\ 'lua' : ['.', ':'],
--
1.7.11.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment