From 6fadd7a8c4efe11560aa84a3bff1b9c6cb887966 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 26 Mar 2007 11:12:20 +0000 Subject: Added instructions on using the Vim .des syntax highlighter. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1101 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/dat/levdes.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/dat/levdes.vim b/crawl-ref/source/dat/levdes.vim index 59cf33b6d0..1bb85be8a6 100644 --- a/crawl-ref/source/dat/levdes.vim +++ b/crawl-ref/source/dat/levdes.vim @@ -4,6 +4,13 @@ " Last Change: 2007 Feb 20 " Remark: Basic Vim syntax highlighting for Dungeon Crawl Stone Soup " level design (.des) files. +" +" How to use this: +" * Put levdes.vim (this file) under ~/.vim/syntax (or similar directory for +" your system - usually C:\Program Files\Vim\vimfiles\syntax on Windows). +" * In your .vimrc, add this line: +" au BufRead,BufNewFile *.des set syntax=levdes +" Thereafter, any .des files you edit in (g)vim will use syntax highlighting. if version < 600 syntax clear -- cgit v1.2.3-54-g00ecf