Conflict with lexima.vim
Closed this issue · 1 comments
kg8m commented
Hi. Thank you for this great plugin! dps-ghosttext.vim helps my Vim life.
I found a conflict with https://github.com/cohama/lexima.vim. dps-ghosttext.vim sets buftype=nofile
but lexima.vim doesn't work if buftype=nofile
. cf. https://github.com/cohama/lexima.vim/blob/fbc05de53ca98b7f36a82f566db1df49864e58ef/autoload/lexima/insmode.vim#L146-L148
I think there are some choices:
- Don't use
buftype=nofile
and usebuftype=nowrite
instead - Add a User autocommand like
User dps-ghosttext-open
and allow users to customize the ghosttext buffer - Change lexima.vim's behavior
I can create a pull request if you are positive the 1.
or 2.
. Could you please tell me your thoughts?
Best regards.
kg8m commented
lexima.vim has updated and this issue is fixed now. Thank you!