amix / vim-zenroom2

A Vim extension that emulates iA Writer environment when editing Markdown, reStructuredText or text files
254 stars 21 forks source link

append to goyo_callbacks if it's already set #11

Closed mrtazz closed 8 years ago

mrtazz commented 8 years ago

this allows for setting custom goyo callbacks in addition to the zenroom ones. This is useful for adding workarounds like the one mentioned in https://github.com/junegunn/goyo.vim/issues/16. Right now those custom callbacks would get overwritten, this change makes it append the callbacks.

mrtazz commented 8 years ago

Hi! anything you need from me for this to get merged? Or does it not fit in the feature set you have in mind for zenroom2?