branch: elpa/zig-mode
commit 51a99d1589ddbbca58f37ebff0fcd8d083336d0b
Author: Matthew D. Steele <mdste...@alum.mit.edu>
Commit: GitHub <nore...@github.com>

    Add alternate install instructions to the README (#9)
---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index 4031c51..be2ab54 100644
--- a/README.md
+++ b/README.md
@@ -3,3 +3,12 @@ Syntax highlighting for the [Zig programming 
language](http://ziglang.org) in Em
 
 ## Installation
 Simply install the `zig-mode` package via 
[MELPA](https://melpa.org/#/getting-started).
+
+Alternatively, you can `git clone` the `zig-mode` repository somewhere
+(e.g. under your `~/.emacs.d/`), then add the following to your `.emacs` file:
+
+```elisp
+(add-to-list 'load-path "~/path/to/your/zig-mode/")
+(autoload 'zig-mode "zig-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.zig\\'" . zig-mode))
+```

Reply via email to