Closed thetic closed 3 years ago
I would like to use single key map both to open and to stop the preview, but (best I can tell) there is no way to read the plugin's state from the buffer.
Do you mean call PlantumlOpen and PlantumlStop depending on the state?
Yes, exactly.
But this will cause duplicate tabs to open in the browser when you execute PlantumlToggle continuously.
I would like to use single key map both to open and to stop the preview, but (best I can tell) there is no way to read the plugin's state from the buffer.