.vimrc

changeset 205
71ae71f96ad7
parent 204
f6a2f233a33b
child 208
33427875762e
equal deleted inserted replaced
204:f6a2f233a33b 205:71ae71f96ad7
400 let g:neocomplcache_omni_patterns = {} 400 let g:neocomplcache_omni_patterns = {}
401 endif 401 endif
402 402
403 "Required to get ruby omni 403 "Required to get ruby omni
404 let g:neocomplcache_omni_patterns.ruby = '[^. *\t]\.\w*\|\h\w*::' 404 let g:neocomplcache_omni_patterns.ruby = '[^. *\t]\.\w*\|\h\w*::'
405 "Enabling the below allows module completion from CPAN, jeez 405 " allow module completion from CPAN when combined with perlomni
406 " let g:neocomplcache_omni_patterns.perl = '\h\w*->\h\w*\|\h\w*::' 406 "let g:neocomplcache_omni_patterns.perl = '[^. \t]->\%(\h\w*\)\?\|\h\w*::\%(\h\w*\)\?'
407 " seems like overkill
408
409 if !exists('g:neocomplcache_filename_include_exprs')
410 let g:neocomplcache_filename_include_exprs = {}
411 endif
412
413 "help scan into "use" statements
414 let g:neocomplcache_filename_include_exprs.perl = 'fnamemodify(substitute(v:fname, "/", "::", "g"), ":r")'
407 415
408 " }}} 416 " }}}
409 417
410 418
411 " Local stuff, finish up 419 " Local stuff, finish up

mercurial