mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 21:26:27 +00:00
More Omni Patterns
This commit is contained in:
parent
c5dd824c5f
commit
c5f6717f15
@ -20,6 +20,8 @@ endif
|
||||
if !exists('g:neocomplcache_force_omni_patterns')
|
||||
let g:neocomplcache_force_omni_patterns = {}
|
||||
endif
|
||||
let g:neocomplcache_force_omni_patterns['c'] = '[^.[:digit:] *\t]\%(\.\|->\)'
|
||||
let g:neocomplcache_force_omni_patterns['go'] = '[^.[:digit:] *\t]\%(\.\|->\)'
|
||||
let g:neocomplcache_force_omni_patterns['python'] =
|
||||
\ '\%([^. \t]\.\|^\s*@\|^\s*from\s.\+import \|^\s*from \|^\s*import \)\w*'
|
||||
|
||||
|
@ -15,6 +15,8 @@ let g:neocomplete#keyword_patterns['default'] = '\h\w*'
|
||||
if !exists('g:neocomplete#force_omni_input_patterns')
|
||||
let g:neocomplete#force_omni_input_patterns = {}
|
||||
endif
|
||||
let g:neocomplete#force_omni_input_patterns['cpp'] = '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::'
|
||||
let g:neocomplete#force_omni_input_patterns['go'] = '[^.[:digit:] *\t]\%(\.\|->\)'
|
||||
let g:neocomplete#force_omni_input_patterns['python'] =
|
||||
\ '\%([^. \t]\.\|^\s*@\|^\s*from\s.\+import \|^\s*from \|^\s*import \)\w*'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user