mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
Updated runtime files.
This commit is contained in:
@@ -2,15 +2,18 @@
|
||||
" Language: Subversion (svn) commit file
|
||||
" Maintainer: Dmitry Vasiliev <dima at hlabs dot org>
|
||||
" URL: https://github.com/hdima/vim-scripts/blob/master/syntax/svn.vim
|
||||
" Last Change: 2012-07-21
|
||||
" Last Change: 2013-11-08
|
||||
" Filenames: svn-commit*.tmp
|
||||
" Version: 1.9
|
||||
" Version: 1.10
|
||||
|
||||
" Contributors:
|
||||
" Stefano Zacchiroli
|
||||
"
|
||||
" List of the contributors in alphabetical order:
|
||||
"
|
||||
" A. S. Budden
|
||||
" Myk Taylor
|
||||
" Ingo Karkat
|
||||
" Myk Taylor
|
||||
" Stefano Zacchiroli
|
||||
|
||||
" For version 5.x: Clear all syntax items.
|
||||
" For version 6.x: Quit when a syntax file was already loaded.
|
||||
@@ -20,14 +23,19 @@ elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn region svnText start="\%^" end="^--.*--$"me=s-1 contains=@Spell
|
||||
syn spell toplevel
|
||||
|
||||
syn region svnRegion start="^--.*--$" end="\%$" contains=ALL
|
||||
syn match svnRemoved "^D .*$" contained
|
||||
syn match svnRenamed "^R[ M][ U][ +] .*$" contained
|
||||
syn match svnAdded "^A[ M][ U][ +] .*$" contained
|
||||
syn match svnModified "^M[ M][ U] .*$" contained
|
||||
syn match svnProperty "^_M[ U] .*$" contained
|
||||
syn match svnFirstLine "\%^.*" nextgroup=svnRegion,svnBlank skipnl
|
||||
syn match svnSummary "^.\{0,50\}" contained containedin=svnFirstLine nextgroup=svnOverflow contains=@Spell
|
||||
syn match svnOverflow ".*" contained contains=@Spell
|
||||
syn match svnBlank "^.*" contained contains=@Spell
|
||||
|
||||
syn region svnRegion end="\%$" matchgroup=svnDelimiter start="^--.*--$" contains=svnRemoved,svnRenamed,svnAdded,svnModified,svnProperty,@NoSpell
|
||||
syn match svnRemoved "^D .*$" contained contains=@NoSpell
|
||||
syn match svnRenamed "^R[ M][ U][ +] .*$" contained contains=@NoSpell
|
||||
syn match svnAdded "^A[ M][ U][ +] .*$" contained contains=@NoSpell
|
||||
syn match svnModified "^M[ M][ U] .*$" contained contains=@NoSpell
|
||||
syn match svnProperty "^_M[ U] .*$" contained contains=@NoSpell
|
||||
|
||||
" Synchronization.
|
||||
syn sync clear
|
||||
@@ -44,7 +52,11 @@ if version >= 508 || !exists("did_svn_syn_inits")
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
endif
|
||||
|
||||
HiLink svnSummary Keyword
|
||||
HiLink svnBlank Error
|
||||
|
||||
HiLink svnRegion Comment
|
||||
HiLink svnDelimiter NonText
|
||||
HiLink svnRemoved Constant
|
||||
HiLink svnAdded Identifier
|
||||
HiLink svnModified Special
|
||||
|
Reference in New Issue
Block a user