From 598998780af78b12363a815e08887d6df735b7cd Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 1 Nov 2011 15:34:00 -0700 Subject: * txr.vim: Added installation instructions. --- ChangeLog | 4 ++++ txr.vim | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 28bbb58e..873a2371 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-11-01 Kaz Kylheku + + * txr.vim: Added installation instructions. + 2011-11-01 Kaz Kylheku Syntax highlighting for Vim. diff --git a/txr.vim b/txr.vim index eb220685..09b2b425 100644 --- a/txr.vim +++ b/txr.vim @@ -2,6 +2,17 @@ " Kaz Kylheku " 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 -- cgit v1.2.3