Hello Byron,
thank you for vim-haredoc.
I have problems using it:
In vim 9.0.2010, I see a popup flashing for a fraction of a second when
I use the K keybinding. It disappears so quickly that I can't even read
what it shows.
gK works as expected.
When I start Neovim 0.9.4 with vim-haredoc installed, I get this error
(on startup):
Error detected while processing /home/max/.dotfiles/vim/.vim/pack/plugins/start/vim-haredoc/plugin/haredoc.vim:
line 83:
E126: Missing :endfunction
Any ideas what could cause these errors?
Best regards,
Max
On Thu Oct 26, 2023 at 6:53 PM CEST, Max Schillinger wrote:
> In vim 9.0.2010, I see a popup flashing for a fraction of a second > when I use the K keybinding. It disappears so quickly that I can't > even read what it shows.
This was caused by the LESS environment variable. See my patch:
https://lists.sr.ht/~torresjrjr/public-inbox/patches/46171> When I start Neovim 0.9.4 with vim-haredoc installed, I get this error > (on startup):>> Error detected while processing /home/max/.dotfiles/vim/.vim/pack/plugins/start/vim-haredoc/plugin/haredoc.vim:> line 83:> E126: Missing :endfunction
This is caused by a bug in Neovim. See issue #25810:
https://github.com/neovim/neovim/issues/25810
Apart from that: Neovim doesn't have the features 'popupwin' and
'terminal'. The fallback using ':!haredoc' is not very useable because
it prints the escape codes for the colors as text. I think I'll create
another patch to provide minimal support for Neovim.
On Sat Oct 28, 2023 at 2:17 PM BST, Max Schillinger wrote:
> On Thu Oct 26, 2023 at 6:53 PM CEST, Max Schillinger wrote:> > When I start Neovim 0.9.4 with vim-haredoc installed, I get this error > > (on startup):> >> > Error detected while processing /home/max/.dotfiles/vim/.vim/pack/plugins/start/vim-haredoc/plugin/haredoc.vim:> > line 83:> > E126: Missing :endfunction>> This is caused by a bug in Neovim. See issue #25810:> https://github.com/neovim/neovim/issues/25810
Interesting. I don't use neovim, only vim.
> Apart from that: Neovim doesn't have the features 'popupwin' and > 'terminal'. The fallback using ':!haredoc' is not very useable because > it prints the escape codes for the colors as text. I think I'll create > another patch to provide minimal support for Neovim.
Does neovim have it's own version of 'popupwin' and 'terminal'? Again,
not familiar with neovim. Otherwise, passing -R to less via $LESS might
solve the problem. Would take a patch.
---
Thanks for trying vim-haredoc and hare.