Why does Vim use only some modeling parameters?

I am editing python files and I have a model in one of them:

# vim: set foldmarker={{{,}}} foldlevel=0  foldmethod=marker

When I open the file, it foldmethodis still installed on expr, but two other settings in the simulation were successfully applied, but it set modeline?shows that it is modelinereally installed.

I suspect this is because the plugin overrides the setting after applying modeline, but how can I verify that this is the case?

+4
source share
1 answer

, . foldmarker foldlevel , , , , .

# vim: set foldmarker={{{,}}} foldlevel=0 foldmethod=marker :

: , .

, , :

# vim: foldmarker={{{,}}} foldlevel=0 foldmethod=marker

. , , , .

+6

Source: https://habr.com/ru/post/1533570/


All Articles