3 ms·
Vim has modeline[0]. Is that what you meant? [0] http://vimdoc.sourceforge.net/htmldoc/options.html#%27modeline%27 http://vimdoc.sourceforge.net/htmldoc/option
by dschep 11y ago
Vim has modeline[0]. Is that what you meant?
[0] http://vimdoc.sourceforge.net/htmldoc/options.html#%27modeline%27 http://vimdoc.sourceforge.net/htmldoc/options.html#%27modeli...
- telotortium 11y agoAnd the Emacs equivalent, file-local variables[0]. However, these are editor-specific, as far as I'm aware, although Python was able to extract the commonalities between them to support file encoding in PEP 0263[1]. [0] http://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html#Specifying-File-Variables http://www.gnu.org/software/emacs/manual/html_node/emacs/Spe... [1] https://www.python.org/dev/peps/pep-0263/ https://www.python.org/dev/peps/pep-0263/