" Vim syntax file " Language: Slrn score file (local additions for folding only) " Maintainer: Christian J. Robinson <heptite@gmail.com> " Last Change: 2002 Aug 22 " Place in: <runtime>/after/syntax/slrnsc.vim "if exists("b:current_syntax_local") " finish "endif " Unset tf_fold if it set but vim doesn't support it. if version < 600 && exists("slrnsc_fold") unlet slrnsc_fold endif if exists("slrnsc_fold") syn region slrnscFold start==^\s*\[\~\=[ 0-9a-zA-Z_.,*-]\+\]$= end==^\s*\[\~\=[ 0-9a-zA-Z_.,*-]\+\]$=me=s-1 fold transparent excludenl keepend syn sync fromstart setlocal foldmethod=syntax foldminlines=3 endif "let b:current_syntax_local = b:current_syntax