diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-09-24 21:31:51 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-09-24 21:31:51 +0900 |
commit | 95beb624545d28d37a15de3981b7c70489050932 (patch) | |
tree | c7868d2b9d8530bde4176aed591737a82209b528 | |
parent | 93e22ff6c461d3fcf2bf0485885295f01d455a03 (diff) | |
download | deoplete.nvim-95beb624545d28d37a15de3981b7c70489050932.zip |
Fix #1023 change around default marks
-rw-r--r-- | doc/deoplete.txt | 10 | ||||
-rw-r--r-- | rplugin/python3/deoplete/source/around.py | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/doc/deoplete.txt b/doc/deoplete.txt index bd37686..73beb4a 100644 --- a/doc/deoplete.txt +++ b/doc/deoplete.txt @@ -573,12 +573,6 @@ around *deoplete-source-around* the words that are in sight or the ones you've just typed somewhere else. - Legend: You can see where the words came from. Next to the - source mark [~] these suffixes are used: - A - above the cursor - B - below the cursor - C - in changes - By default, around has a fixed range of looking for words 20 lines above and below your cursor position. You are able to customize its settings through custom source variables. @@ -1764,9 +1758,9 @@ A: Like this: highlight PmenuSbar ctermbg=0 guibg=#d6d6d6 < Q: What does each part of a line on the pop up mean? For example I see: - Bree pops up Breed [~] A. What do [~] and A stand for? + Bree pops up Breed [A]. What do [A] stands for? -A: It is the source mark. [~] is from around source. A is from +A: It is the source mark. [A] is from around source. A is from |deoplete-source-around|. Q: I want to use floating preview window feature with deoplete. diff --git a/rplugin/python3/deoplete/source/around.py b/rplugin/python3/deoplete/source/around.py index 3a7a230..dd52ecc 100644 --- a/rplugin/python3/deoplete/source/around.py +++ b/rplugin/python3/deoplete/source/around.py @@ -18,8 +18,8 @@ class Source(Base): self.rank = 300 self.vars = { 'mark_above': '[A]', - 'mark_below': '[B]', - 'mark_changes': '[C]', + 'mark_below': '[A]', + 'mark_changes': '[A]', 'range_above': 20, 'range_below': 20, } |