Skip to content

Commit

Permalink
- Improved documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Apr 20, 2013
1 parent 140f926 commit 0e29269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/neocomplcache.txt
Expand Up @@ -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*::'
Expand Down Expand Up @@ -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*::'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0e29269

Please sign in to comment.