summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-26 11:12:20 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-26 11:12:20 +0000
commit6fadd7a8c4efe11560aa84a3bff1b9c6cb887966 (patch)
tree5488ac92901dc0c9762b680b647c469501601910
parent0af56a49709de098bbe186b8343931896caefbc0 (diff)
downloadcrawl-ref-6fadd7a8c4efe11560aa84a3bff1b9c6cb887966.tar.gz
crawl-ref-6fadd7a8c4efe11560aa84a3bff1b9c6cb887966.zip
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
-rw-r--r--crawl-ref/source/dat/levdes.vim7
1 files changed, 7 insertions, 0 deletions
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