emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/zig-mode 51a99d1 023/104: Add alternate install instructio


From: ELPA Syncer
Subject: [nongnu] elpa/zig-mode 51a99d1 023/104: Add alternate install instructions to the README (#9)
Date: Sun, 29 Aug 2021 11:36:56 -0400 (EDT)

branch: elpa/zig-mode
commit 51a99d1589ddbbca58f37ebff0fcd8d083336d0b
Author: Matthew D. Steele <mdsteele@alum.mit.edu>
Commit: GitHub <noreply@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

[Prev in Thread] Current Thread [Next in Thread]