diff src/capnproto-0.6.0/highlighting/emacs/README.md @ 147:45360b968bf4

Cap'n Proto v0.6 + build for OSX
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 22 May 2017 10:01:37 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/capnproto-0.6.0/highlighting/emacs/README.md	Mon May 22 10:01:37 2017 +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))
+```