diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2018-04-09 16:29:59 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2018-04-09 16:29:59 +0900 |
commit | 053c66c9ea67198e022aeff46f5a03b54dac8428 (patch) | |
tree | d0906aca4b98b57aef743737d6b6d6e015161406 /test | |
parent | c80de7a6f747234b1a6bb0e77ca98e8c0ba4e695 (diff) | |
download | deoplete.nvim-053c66c9ea67198e022aeff46f5a03b54dac8428.zip |
Add dict type format tests
Diffstat (limited to 'test')
-rw-r--r-- | test/autoload/deoplete/custom.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/autoload/deoplete/custom.vim b/test/autoload/deoplete/custom.vim index 90cba96..9a9c9f5 100644 --- a/test/autoload/deoplete/custom.vim +++ b/test/autoload/deoplete/custom.vim @@ -68,4 +68,15 @@ function! s:suite.custom_option() abort call s:assert.equals( \ deoplete#custom#_get_filetype_option( \ 'keyword_patterns', 'tex', ''), s:tex_pattern) + + " Dict type format + call deoplete#custom#_init() + call deoplete#custom#_init_buffer() + call deoplete#custom#option({ + \ 'auto_complete': v:true, 'camel_case': v:true + \ }) + call s:assert.equals( + \ deoplete#custom#_get_option('auto_complete'), v:true) + call s:assert.equals( + \ deoplete#custom#_get_option('camel_case'), v:true) endfunction |