mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
taskwiki: Reset the cache
This commit is contained in:
parent
f4c314e8cc
commit
97d83de02b
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue