summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--txr.vim11
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 28bbb58e..873a2371 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2011-11-01 Kaz Kylheku <kaz@kylheku.com>
+ * txr.vim: Added installation instructions.
+
+2011-11-01 Kaz Kylheku <kaz@kylheku.com>
+
Syntax highlighting for Vim.
* txr.vim: New file.
diff --git a/txr.vim b/txr.vim
index eb220685..09b2b425 100644
--- a/txr.vim
+++ b/txr.vim
@@ -2,6 +2,17 @@
" Kaz Kylheku <kaz@kylheku.com>
" 2011-11-01
+" INSTALL-HOWTO:
+"
+" 1. Create the directory .vim/syntax in your home directory and
+" put this file there.
+" 2. In your .vimrc, add this command to associate *.txr files
+" with the txr filetype.
+" :au BufRead,BufNewFile *.txr set filetype=txr
+"
+" If you want syntax highlighting to be on automatically (for any language)
+" you need to add ":syntax on" in your .vimrc also. But you knew that already!
+
syn case match
syn spell toplevel