summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2015-12-05 06:20:23 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2015-12-05 06:20:23 +0900
commit82bf4f9a0595567414f2b8fd89a63c83adbc4cdd (patch)
tree459ae9cd9d7493e521c76de5417cd5b767134af9 /doc
parent6243022941bebd29384aa74a4c62e7d58120da08 (diff)
downloaddeoplete.nvim-82bf4f9a0595567414f2b8fd89a63c83adbc4cdd.zip
Add rank customization
Diffstat (limited to 'doc')
-rw-r--r--doc/deoplete.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/deoplete.txt b/doc/deoplete.txt
index 0abbc3c..1c6c8e1 100644
--- a/doc/deoplete.txt
+++ b/doc/deoplete.txt
@@ -261,8 +261,8 @@ deoplete#initialize() *deoplete#initialize()*
User customization for deoplete must be set before
initialization of deoplete.
-deoplete#custom#source({source-name}, {option-name}, {value})
*deoplete#custom#source()*
+deoplete#custom#source({source-name}, {option-name}, {value})
Set {source-name} source specialized {option-name}
to {value}. You may specify multiple sources with
separating "," in {source-name}.
@@ -275,6 +275,8 @@ deoplete#custom#source({source-name}, {option-name}, {value})
" Disable auto completion in buffer source
call deoplete#custom#set('buffer',
\ 'min_pattern_length', 9999)
+ " Change the source rank
+ call deoplete#custom#set('buffer', 'rank', 9999)
<
------------------------------------------------------------------------------
KEY MAPPINGS *deoplete-key-mappings*