mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Vim and Emacs modelines
This commit is contained in:
		| @@ -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;-*- | ||||
| ``` | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user