aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-28 20:42:06 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-28 21:01:25 +0200
commit409e56b1392c431a36c0a48cac58d6df3cf424d7 (patch)
tree52e0834b89ff16d93a29cab9772619f3757687db /runtime/syntax
parent129f107c0c26fbf371bcf165ec20eb13356bfb8e (diff)
downloadrneovim-409e56b1392c431a36c0a48cac58d6df3cf424d7.tar.gz
rneovim-409e56b1392c431a36c0a48cac58d6df3cf424d7.tar.bz2
rneovim-409e56b1392c431a36c0a48cac58d6df3cf424d7.zip
vim-patch:818078ddfbb8
Updated runtime files and translations. https://github.com/vim/vim/commit/818078ddfbb8cc2546f697c5675a251d095722ec
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/sh.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim
index 2fe13fbde6..ef90ebea22 100644
--- a/runtime/syntax/sh.vim
+++ b/runtime/syntax/sh.vim
@@ -2,8 +2,8 @@
" Language: shell (sh) Korn shell (ksh) bash (sh)
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
-" Last Change: Aug 23, 2016
-" Version: 161
+" Last Change: Aug 26, 2016
+" Version: 162
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
" For options and settings, please use: :help ft-sh-syntax
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr)
@@ -500,7 +500,7 @@ syn match shDerefString contained "\\["']" nextgroup=shDerefPattern
if exists("b:is_bash")
" bash : ${parameter:offset}
" bash : ${parameter:offset:length}
- syn region shDerefOff contained start=':' end='\ze:' end='\ze}' contains=shDeref,shDerefSimple,shDerefEscape nextgroup=shDerefLen,shDeref,shDerefSimple
+ syn region shDerefOff contained start=':\ze[^-=?+]' end='\ze:' end='\ze}' contains=shDeref,shDerefSimple,shDerefEscape nextgroup=shDerefLen,shDeref,shDerefSimple
syn region shDerefOff contained start=':\s-' end='\ze:' end='\ze}' contains=shDeref,shDerefSimple,shDerefEscape nextgroup=shDerefLen,shDeref,shDerefSimple
syn match shDerefLen contained ":[^}]\+" contains=shDeref,shDerefSimple