" Deckard syntax highlighting & folding"" Usage: Put following lines into ~/.vim/ftdetect/deckard.vim" au BufRead,BufNewFile *.rpl set filetype=deckard" au BufRead,BufNewFile *.stc set foldmethod=syntax
syntaxmatch deckardSection 'SECTION \+[^ ]\+'syntaxmatch deckardReply 'REPLY.*'syntaxmatch Comment ';.*$'hidef link deckardEntry Foldedhidef link deckardRange Foldedhidef link deckardScenario Foldedhidef link deckardSection Specialhidef link deckardReply Stringletb:current_syntax='deckard'