On 2019-03-15, tooth pik wrote:
> i've got
>
> " vim: set foldmethod=marker
>
> at the bottom of my ~/.vimrc and for reasons i have yet to discover it
> opens up with
> foldmethod=manual and
>
> :verb set fdm?
>
> tells me nothing about who set it, just that it's manual
>
> have there been any recent updates to the processing of modelines?
>
> the modelines option is 5, and i've tried putting it at the top and
> bottom, but it still
> is being ignored
There haven't been any such changes to Vim that I know of, but
recent Ubuntu (e.g., 18.04) Vim packages include
/usr/share/vim/vim80/debian.vim which includes this:
" modelines have historically been a source of security/resource
" vulnerabilities -- disable by default, even when 'nocompatible' is set
set nomodeline
You might try executing
:verbose set modeline?
to see if that might be the problem.
Regards,
Gary
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.