ftplugin: Make commands buffer-local

Consistency with vimwiki, less confusion/clutter.
This commit is contained in:
Tomas Janousek 2020-06-07 22:47:16 +02:00 committed by Tomas Babej
parent 2942ba776d
commit b722c29f9e
2 changed files with 32 additions and 29 deletions

View file

@ -277,6 +277,9 @@ class TestSplitReplacement(IntegrationTest):
assert self.py("print(vim.current.buffer)", silent=False).startswith("<buffer burndown.daily")
assert "Daily Burndown" in self.read_buffer()[0]
# switch back to taskwiki buffer
self.client.feedkeys("\\<C-W>p")
self.command("TaskWikiBurndownDaily")
assert self.py("print(vim.current.buffer)", silent=False).startswith("<buffer burndown.daily")
assert "Daily Burndown" in self.read_buffer()[0]