Vim and Emacs modelines

This commit is contained in:
Arfon Smith
2015-02-04 13:52:08 -06:00
parent bb9f6ff082
commit 67fae52b32

View File

@@ -142,11 +142,11 @@ jquery.js linguist-vendored=false
Alternatively, you can use Vim and Emacs style modelines to set the language for a single file. Modelines can be placed anywhere within a file and are respected when determining how to syntax-highlight a file on GitHub.com
```
Vim-style
Vim
vim: set filetype=prolog:
vim: set ft=cpp:
Emacs-style
Emacs
-*- mode: php;-*-
```