Mercurial > hg > sv-dependency-builds
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/capnproto-git-20161025/highlighting/emacs/README.md Tue Oct 25 11:17:01 2016 +0100 @@ -0,0 +1,13 @@ +Syntax Coloring for Emacs +========================= + +How to use: + +Add this to your .emacs file (altering the path to wherever your +capnproto directory lives): + +```elisp +(add-to-list 'load-path "~/src/capnproto/highlighting/emacs") +(require 'capnp-mode) +(add-to-list 'auto-mode-alist '("\\.capnp\\'" . capnp-mode)) +```