diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-27 17:01:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-27 17:01:56 +0000 |
commit | 3991dab8e0a3815bd5349c1ffa88476819971c48 (patch) | |
tree | cf81e7c822725142320f0ca0721357f34553cfb9 /runtime/syntax/svn.vim | |
parent | 899dddf88804af20d560b5277f1ca1bc4dd8e2b3 (diff) | |
download | vim-3991dab8e0a3815bd5349c1ffa88476819971c48.zip |
updated for version 7.0c
Diffstat (limited to 'runtime/syntax/svn.vim')
-rw-r--r-- | runtime/syntax/svn.vim | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/runtime/syntax/svn.vim b/runtime/syntax/svn.vim index 5ec3236c5..d691ba15c 100644 --- a/runtime/syntax/svn.vim +++ b/runtime/syntax/svn.vim @@ -1,9 +1,13 @@ " Vim syntax file -" Language: Subversion (svn) commit file -" Maintainer: Dmitry Vasiliev <dima@hlabs.spb.ru> -" URL: http://www.hlabs.spb.ru/vim/svn.vim -" Last Change: $Date$ -" $Revision$ +" Language: Subversion (svn) commit file +" Maintainer: Dmitry Vasiliev <dima at hlabs dot spb dot ru> +" URL: http://www.hlabs.spb.ru/vim/svn.vim +" Revision: $Id$ +" Filenames: svn-commit*.tmp +" Version: 1.5 + +" Contributors: +" Stefano Zacchiroli " For version 5.x: Clear all syntax items. " For version 6.x: Quit when a syntax file was already loaded. @@ -13,15 +17,15 @@ elseif exists("b:current_syntax") finish endif -syn region svnRegion start="--This line, and those below, will be ignored--" end="\%$" contains=ALL -syn match svnRemoved "^D .*$" contained -syn match svnAdded "^A[ M] .*$" contained -syn match svnModified "^M[ M] .*$" contained -syn match svnProperty "^_M .*$" contained +syn region svnRegion start="^--.*--$" end="\%$" contains=ALL +syn match svnRemoved "^D .*$" contained +syn match svnAdded "^A[ M] .*$" contained +syn match svnModified "^M[ M] .*$" contained +syn match svnProperty "^_M .*$" contained " Synchronization. syn sync clear -syn sync match svnSync grouphere svnRegion "--This line, and those below, will be ignored--"me=s-1 +syn sync match svnSync grouphere svnRegion "^--.*--$"me=s-1 " Define the default highlighting. " For version 5.7 and earlier: only when not done already. @@ -34,11 +38,11 @@ if version >= 508 || !exists("did_svn_syn_inits") command -nargs=+ HiLink hi def link <args> endif - HiLink svnRegion Comment - HiLink svnRemoved Constant - HiLink svnAdded Identifier - HiLink svnModified Special - HiLink svnProperty Special + HiLink svnRegion Comment + HiLink svnRemoved Constant + HiLink svnAdded Identifier + HiLink svnModified Special + HiLink svnProperty Special delcommand HiLink endif |