summaryrefslogtreecommitdiffstats
path: root/txr.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-11-01 15:34:00 -0700
committerKaz Kylheku <kaz@kylheku.com>2011-11-01 15:34:00 -0700
commit598998780af78b12363a815e08887d6df735b7cd (patch)
treefecf108cbde59de2c2dd9d91def7c9ab1969130a /txr.vim
parentf6140553d11d9523dfaff2eac01dcc2621ede45f (diff)
downloadtxr-598998780af78b12363a815e08887d6df735b7cd.tar.gz
txr-598998780af78b12363a815e08887d6df735b7cd.tar.bz2
txr-598998780af78b12363a815e08887d6df735b7cd.zip
* txr.vim: Added installation instructions.
Diffstat (limited to 'txr.vim')
-rw-r--r--txr.vim11
1 files changed, 11 insertions, 0 deletions
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