What's the line setting vim option at the bottom of a text file called?

前端 未结 3 988
时光取名叫无心
时光取名叫无心 2020-12-31 17:55

The line looks like this

.. vim: set ft=help norl ts=8 tw=78 et :

And appears at the bottom of some text files, such as vim documentation.<

3条回答
  •  我在风中等你
    2020-12-31 18:28

    It is called a modeline.

    See :help modeline for more information.

    Basically, it is a way to tell Vim how to render a text file.

提交回复
热议问题