Bram Moolenaar wrote:
[...]
Modelines are default off when you are root.  The mail filetype plugin
also switches it off.
[...]

Are you sure? In a terminal logged-in as root, using vim 7.0.235:

        vim -u NONE -N
        :set ml? mls?
  modeline
  modelines=5

Modelines default off when 'compatible' is set, they default on (and 5) when 'nocompatible' is set. Root login changes nothing to that AFAICT.


Best regards,
Tony.
--
    "You mean there really is an answer?"
    "Yes! But you're not going to like it!"
    "Oh do please tell us!"
    "You're really not going to like it!"
    "but we MUST know - tell us"
    "Alright, the answer is...."
    "yes..."
    "... is ..."
    "yes... come on!"
    "is 42!"
                (Douglas Adams - The Hitchhiker's Guide to the Galaxy)

Reply via email to