diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-02-18 06:19:19 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-02-18 06:19:19 +0900 |
commit | d1247ab46abb0553a32f04faf730f95822319eb9 (patch) | |
tree | 09a24556350f3c3e6b9fb5f13996a8c45f328430 | |
parent | a60626a4b472a958514dbecb4772dfe22fd30b7a (diff) | |
download | deoplete.nvim-d1247ab46abb0553a32f04faf730f95822319eb9.zip |
Improve limit in tag source
-rw-r--r-- | rplugin/python3/deoplete/sources/tag.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rplugin/python3/deoplete/sources/tag.py b/rplugin/python3/deoplete/sources/tag.py index f5fb7c2..c0139a8 100644 --- a/rplugin/python3/deoplete/sources/tag.py +++ b/rplugin/python3/deoplete/sources/tag.py @@ -62,6 +62,7 @@ class Source(Base): candidates += new_candidates self.__cache[filename] = TagsCacheItem( mtime, new_candidates) + limit -= getsize(filename) else: candidates += self.__cache[filename].candidates return [{'word': x} for x in candidates] |