Mercurial > hg > sv-dependency-builds
comparison src/capnproto-git-20161025/highlighting/emacs/README.md @ 133:1ac99bfc383d
Add Cap'n Proto source
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 25 Oct 2016 11:17:01 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
132:42a73082be24 | 133:1ac99bfc383d |
---|---|
1 Syntax Coloring for Emacs | |
2 ========================= | |
3 | |
4 How to use: | |
5 | |
6 Add this to your .emacs file (altering the path to wherever your | |
7 capnproto directory lives): | |
8 | |
9 ```elisp | |
10 (add-to-list 'load-path "~/src/capnproto/highlighting/emacs") | |
11 (require 'capnp-mode) | |
12 (add-to-list 'auto-mode-alist '("\\.capnp\\'" . capnp-mode)) | |
13 ``` |