cache: Get markup_syntax from vimwiki, drop g:taskwiki_markup_syntax

I don't see the point of forcing the user to select this manually in
both vimwiki and taskwiki.
This commit is contained in:
Tomas Janousek 2020-07-28 23:08:27 +02:00 committed by Tomas Babej
parent 5807945a40
commit 7b67d510cc
3 changed files with 2 additions and 10 deletions

View file

@ -69,8 +69,7 @@ class IntegrationTest(object):
def configure_global_variables(self):
self.command('let g:taskwiki_data_location="{0}"'.format(self.dir))
self.command('let g:taskwiki_taskrc_location="{0}"'.format(self.taskrc_path))
self.command('let g:vimwiki_list = [{"syntax": "default", "ext": ".txt","path": "%s"}]' % self.dir)
self.command('let g:taskwiki_markup_syntax="{0}"'.format(self.markup))
self.command('let g:vimwiki_list = [{"syntax": "%s", "ext": ".txt","path": "%s"}]' % (self.markup, self.dir))
def setup(self):
assert not self.client