<commit_before>" Use deoplete
let g:deoplete#enable_at_startup = 1
" Use smartcase
let g:deoplete#enable_smart_case = 1
" Set the minimum autocompletion trigger length
let g:deoplete#auto_completion_start_length = 1

" Keyword for normal files
call deoplete#custom#option('keyword_patterns', { 'default': '\h\w*' })

" Put snippets above buffers, but below most sources
call deoplete#custom#source('ultisnips', 'rank', 400)

" Plugin key-mappings.
inoremap <expr><C-g>     deoplete#undo_completion()
inoremap <expr><C-l>     deoplete#complete_common_string()

" <C-h>, <BS>: close popup and delete backword char.
inoremap <expr><C-h> deoplete#smart_close_popup()."\<C-h>"
inoremap <expr><BS> deoplete#smart_close_popup()."\<C-h>"

" <C-Space> forces autocomplete
inoremap <expr><C-Space> deoplete#manual_complete()

" Map tab to iterate through candidates<commit_msg>[vim] Update deoplete for smart case<commit_after>" Use deoplete
let g:deoplete#enable_at_startup = 1
" Use smartcase
call deoplete#custom#option('smart_case', 1)
" Set the minimum autocompletion trigger length
let g:deoplete#auto_completion_start_length = 1

" Keyword for normal files
call deoplete#custom#option('keyword_patterns', { 'default': '\h\w*' })

" Put snippets above buffers, but below most sources
call deoplete#custom#source('ultisnips', 'rank', 400)

" Plugin key-mappings.
inoremap <expr><C-g>     deoplete#undo_completion()
inoremap <expr><C-l>     deoplete#complete_common_string()

" <C-h>, <BS>: close popup and delete backword char.
inoremap <expr><C-h> deoplete#smart_close_popup()."\<C-h>"
inoremap <expr><BS> deoplete#smart_close_popup()."\<C-h>"

" <C-Space> forces autocomplete
inoremap <expr><C-Space> deoplete#manual_complete()

" Map tab to iterate through candidates
{'fraction_non_alphanumeric': 0.13371104815864024, 'fraction_numerical': 0.006798866855524079, 'mean_word_length': 6.389121338912134, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5702105', 'n_tokens_mistral': 650, 'n_tokens_neox': 615, 'n_words': 152}