1
2Mode line
3~~~~~~~~~
4
5Files should have Emacs and vim mode line comments as the first two
6lines of the file, which should set ``indent-tabs-mode`` to ``nil``. For new
7files, use the following, specifying two-space indentation:
8
9.. code-block:: cpp
10
11   /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
12   /* vim: set ts=2 et sw=2 tw=80: */
13   /* This Source Code Form is subject to the terms of the Mozilla Public
14    * License, v. 2.0. If a copy of the MPL was not distributed with this
15    * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
16
17Be sure to use the correct ``Mode`` in the first line, don't use ``C++`` in
18JavaScript files.
19