You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not quite sure when i should put something into the core or the plugins. The TODO functionality for example is an essential feature and could get simplified quite a bit if it get's integrated in the lib. I'm not suggesting to do so. I'm simply asking for a guideline.
ALso when should the plugin write in the vim buffer and when should the document object be altered?
Cheers,
Stefan
The text was updated successfully, but these errors were encountered:
From my point of view everything should be integrated in the lib that is independent of vim. For instance the TODO functionality in liborgmode implements basic reading and writing. Everything more sophisticated like the selection dialog is implemented as a plugin. Did you think of specific functionality that you want to integrate into liborgmode?
Regarding the altering of the vim buffer, I recommend using the VimBuffer class. Because of performance reasons it might be of use to access vim.current.buffer directly, although I don't see many cases for that. VimBuffer.write_heading is a trade-off to speed up changes to just one heading(-tree).
I'm not quite sure when i should put something into the core or the plugins. The TODO functionality for example is an essential feature and could get simplified quite a bit if it get's integrated in the lib. I'm not suggesting to do so. I'm simply asking for a guideline.
ALso when should the plugin write in the vim buffer and when should the document object be altered?
Cheers,
Stefan
The text was updated successfully, but these errors were encountered: