taskwiki: Reset the cache

This commit is contained in:
Tomas Babej 2016-04-20 21:00:05 +02:00
parent f4c314e8cc
commit 97d83de02b

View file

@ -204,6 +204,9 @@ class Mappings(object):
@staticmethod @staticmethod
def task_info_or_vimwiki_follow_link(): 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 # If the line under cursor contains task, toggle info
# otherwise do the default VimwikiFollowLink # otherwise do the default VimwikiFollowLink
position = util.get_current_line_number() position = util.get_current_line_number()