vim-settings/vim/rc/plugins/neocomplete.rc.vim

22 lines
950 B
VimL
Raw Normal View History

2015-06-18 16:27:57 +00:00
let g:acp_enableAtStartup = 0
let g:neocomplete#enable_at_startup = 1
2015-09-29 16:27:05 +00:00
let g:neocomplete#enable_smart_case = 1
2015-06-18 16:27:57 +00:00
let g:neocomlete#max_list=10
let g:neocomplete#auto_completion_start_length = 2
let g:neocomplete#manual_completion_start_length = 0
if !exists('g:neocomplete#keyword_patterns')
let g:neocomplete#keyword_patterns = {}
endif
let g:neocomplete#keyword_patterns['default'] = '\h\w*'
" let g:neocomplete#keyword_patterns['python'] =
" \ '\%([^. \t]\.\|^\s*@\|^\s*from\s.\+import \|^\s*from \|^\s*import \)\w*'
if !exists('g:neocomplete#force_omni_input_patterns')
let g:neocomplete#force_omni_input_patterns = {}
endif
2015-08-13 22:27:58 +00:00
let g:neocomplete#force_omni_input_patterns['cpp'] = '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::'
let g:neocomplete#force_omni_input_patterns['go'] = '[^.[:digit:] *\t]\%(\.\|->\)'
2015-06-18 16:27:57 +00:00
let g:neocomplete#force_omni_input_patterns['python'] =
\ '\%([^. \t]\.\|^\s*@\|^\s*from\s.\+import \|^\s*from \|^\s*import \)\w*'