Skip to content
Browse files

Update README

  • Loading branch information...
1 parent c880773 commit 4ce8daf727261c1496bbdefcd732a98b5f6513f4 @osyo-manga committed May 17, 2013
Showing with 18 additions and 7 deletions.
  1. +18 −7 README
View
25 README
@@ -1,8 +1,19 @@
-" use neocomplcache & clang_complete
-
-" add neocomplcache option
-let g:neocomplcache_force_overwrite_completefunc=1
-
-" add clang_complete option
-let g:clang_complete_auto=1
+This is deprecated.
+Use neocomplcache and clang_complete.
+" :help neocomplcache-faq
+if !exists('g:neocomplcache_force_omni_patterns')
+ let g:neocomplcache_force_omni_patterns = {}
+endif
+let g:neocomplcache_force_overwrite_completefunc = 1
+let g:neocomplcache_force_omni_patterns.c =
+ \ '[^.[:digit:] *\t]\%(\.\|->\)'
+let g:neocomplcache_force_omni_patterns.cpp =
+ \ '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::'
+let g:neocomplcache_force_omni_patterns.objc =
+ \ '[^.[:digit:] *\t]\%(\.\|->\)'
+let g:neocomplcache_force_omni_patterns.objcpp =
+ \ '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::'
+let g:clang_complete_auto = 0
+let g:clang_auto_select = 0
+"let g:clang_use_library = 1

0 comments on commit 4ce8daf

Please sign in to comment.
Something went wrong with that request. Please try again.