0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

Runtime file updates.

This commit is contained in:
Bram Moolenaar
2010-08-09 22:33:06 +02:00
parent bc226b6ded
commit 9de9997949
7 changed files with 559 additions and 421 deletions

View File

@@ -141,6 +141,7 @@ syn match perlLabel "^\s*\h\w*\s*::\@!\%(\<v\d\+\s*:\)\@<!"
" Special variables first ($^A, ...) and ($|, $', ...)
syn match perlVarPlain "$^[ACDEFHILMNOPRSTVWX]\="
syn match perlVarPlain "$[\\\"\[\]'&`+*.,;=%~!?@#$<>(-]"
syn match perlVarPlain "%+"
syn match perlVarPlain "$\%(0\|[1-9]\d*\)"
" Same as above, but avoids confusion in $::foo (equivalent to $main::foo)
syn match perlVarPlain "$::\@!"
@@ -216,7 +217,8 @@ syn match perlSpecialMatch "(\*\%(\%(PRUNE\|SKIP\|THEN\)\%(:[^)]*\)\=\|\%(MARK\
syn match perlNotEmptyLine "^\s\+$" contained
" Highlight '} else if (...) {', it should be '} else { if (...) { ' or
" '} elsif (...) {'.
syn match perlElseIfError "[^[:space:]{]\+" contained
syn match perlElseIfError "\s\+if" contained
syn keyword perlElseIfError elseif
" Variable interpolation
"