From 0e292693a8c028e42abb3c30ce06fda1c90d36e7 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sun, 21 Apr 2013 08:53:01 +0900 Subject: [PATCH] - Improved documentation. --- doc/neocomplcache.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/neocomplcache.txt b/doc/neocomplcache.txt index 20af7464..70057a42 100644 --- a/doc/neocomplcache.txt +++ b/doc/neocomplcache.txt @@ -480,7 +480,6 @@ g:neocomplcache_omni_patterns *g:neocomplcache_omni_patterns* if !exists('g:neocomplcache_omni_patterns') let g:neocomplcache_omni_patterns = {} endif - let g:neocomplcache_omni_patterns.ruby = '[^. *\t]\.\h\w*\|\h\w*::' let g:neocomplcache_omni_patterns.php = '[^. \t]->\h\w*\|\h\w*::' let g:neocomplcache_omni_patterns.c = '[^.[:digit:] *\t]\%(\.\|->\)' let g:neocomplcache_omni_patterns.cpp = '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::' @@ -1126,8 +1125,6 @@ EXAMPLES *neocomplcache-examples* if !exists('g:neocomplcache_omni_patterns') let g:neocomplcache_omni_patterns = {} endif - let g:neocomplcache_omni_patterns.ruby = '[^. *\t]\.\h\w*\|\h\w*::' - "autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete let g:neocomplcache_omni_patterns.php = '[^. \t]->\h\w*\|\h\w*::' let g:neocomplcache_omni_patterns.c = '[^.[:digit:] *\t]\%(\.\|->\)' let g:neocomplcache_omni_patterns.cpp = '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::' @@ -1529,7 +1526,10 @@ Q: I want to use Ruby omni_complete. A: Please set |g:neocomplcache_force_omni_patterns|. But this completion is heavy, so disabled by default. +Note: But you should use |neocomplcache-rsense| instead of rubycomplete. +https://github.com/Shougo/neocomplcache-rsense > + autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete if !exists('g:neocomplcache_force_omni_patterns') let g:neocomplcache_force_omni_patterns = {} endif