Emacs Vagrantfile config
This commit is contained in:
parent
7cfa2b6986
commit
5ae7f2691b
|
@ -6,5 +6,7 @@ for each item will be kept below.
|
|||
|
||||
## List of Contrib Items
|
||||
|
||||
* `emacs` - Contains a file showing how to associate `Vagrantfile` with
|
||||
Ruby syntax highlighting.
|
||||
* `vim` - Contains a `.vim` file for enabling Ruby syntax highlighting
|
||||
for `Vagrantfile`s.
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
;;--------------------------------------------------------------------
|
||||
;; Teach emacs to syntax highlight Vagrantfile as Ruby.
|
||||
;;
|
||||
;; Installation: Copy the line below into your emacs configuration,
|
||||
;; or drop this file anywhere in your "~/.emacs.d" directory and be
|
||||
;; sure to "load" it.
|
||||
;;--------------------------------------------------------------------
|
||||
(add-to-list 'auto-mode-alist '("Vagrantfile$" . ruby-mode))
|
Loading…
Reference in New Issue