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