From e0871be22b3926e20f5b5301958ffa6b172a98e5 Mon Sep 17 00:00:00 2001 From: BlahGeek Date: Sat, 15 Jun 2019 15:57:11 +0800 Subject: [PATCH] Raise deoplete source rank to 1000 --- rplugin/python3/deoplete/sources/ale.py | 2 +- test/python/test_deoplete_source.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rplugin/python3/deoplete/sources/ale.py b/rplugin/python3/deoplete/sources/ale.py index 7ed2f6c0..7f1c1d60 100644 --- a/rplugin/python3/deoplete/sources/ale.py +++ b/rplugin/python3/deoplete/sources/ale.py @@ -21,7 +21,7 @@ class Source(Base): self.name = 'ale' self.mark = '[L]' - self.rank = 100 + self.rank = 1000 self.is_bytepos = True self.min_pattern_length = 1 diff --git a/test/python/test_deoplete_source.py b/test/python/test_deoplete_source.py index 28eec5cd..1462f77d 100644 --- a/test/python/test_deoplete_source.py +++ b/test/python/test_deoplete_source.py @@ -45,7 +45,7 @@ class DeopleteSourceTest(unittest.TestCase): 'mark': '[L]', 'min_pattern_length': 1, 'name': 'ale', - 'rank': 100, + 'rank': 1000, }) def test_completion_position(self):