zig/doc/emacs/README.md

8 lines
234 B
Markdown
Raw Normal View History

2017-03-03 12:03:44 +08:00
To use this emacs syntax file, add this to your emacs configuration file:
```emacs
(add-to-list 'load-path "/path/to/zig/doc/emacs/")
(autoload 'zig-mode "zig-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.zig\\'" . zig-mode))
```