ModelinesThis extension adds the ability to set certain editor settings from "modelines". Modelines let you set certain editor settings on a per-file basis by adding a specially formatted comment near the top or bottom of the file. The settings only affect the file where the modeline appears. This extension supports Vim and Emacs modelines as well as a Code-specific syntax demonstrated below. The modeline(s) must appear somewhere in the first or last 5 lines of the file. Here are a few examples demonstrating the different types of modelines supported. All of the examples below are equivelent.
|