#987513 vim-voom: Voomhelp can not be called if modeline is set

#987513#5
Date:
2021-04-25 00:32:35 UTC
From:
To:
Dear Maintainer,

after upgrading to Debian/bullseye I noticed the following error when calling :Voomhelp:

  Error detected while processing function voom#Help[39]..function voom#Help[34]..modelines:
  line 4207:
  E992: Not allowed in a modeline when 'modelineexpr' is off: foldtext=getline(v:foldstart).'...'.(v:foldend-v:foldstart
  )

I tried to debug the problem and could pin point the problem to the
'set modeline' option in my .vimrc. After removing that line or
calling "set nomodeline" before ":Voomhelp" can be called without an
error.

I added "set modeline" into my .vimrc because it defaults to off in
Debian for security reasons. (FTR, modelineexpr is not set in my
configuration and defaults to off.)

So now I wonder if this can be fixed somehow so that :Voomhelp can be
called with modeline set.

Thank you for maintaining vim-voom!

Best,
 - Darsha

#987513#10
Date:
2021-10-04 08:18:26 UTC
From:
To:
Thank you for report the issue. And sorry for replying late.

I ask this issue on github.

Voomhelp can not be called if modeline is set · Issue #31 ·
vim-voom/vim-voom.github.com
https://github.com/vim-voom/vim-voom.github.com/issues/31

#987513#15
Date:
2021-10-04 08:18:26 UTC
From:
To:
Thank you for report the issue. And sorry for replying late.

I ask this issue on github.

Voomhelp can not be called if modeline is set · Issue #31 ·
vim-voom/vim-voom.github.com
https://github.com/vim-voom/vim-voom.github.com/issues/31