From 97d83de02b9f152d0cacbe9ccc066b85b4ae9f84 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Wed, 20 Apr 2016 21:00:05 +0200 Subject: [PATCH] taskwiki: Reset the cache --- taskwiki/taskwiki.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/taskwiki/taskwiki.py b/taskwiki/taskwiki.py index 5bd2621..6630245 100644 --- a/taskwiki/taskwiki.py +++ b/taskwiki/taskwiki.py @@ -204,6 +204,9 @@ class Mappings(object): @staticmethod def task_info_or_vimwiki_follow_link(): + # Reset the cache to use up-to-date buffer content + cache.reset() + # If the line under cursor contains task, toggle info # otherwise do the default VimwikiFollowLink position = util.get_current_line_number()