aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-15 14:53:48 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-15 14:53:48 +1300
commit863d6e37d1ac0b4b164e4827a036041898020398 (patch)
tree281837048f63888cd9e8ddf35c498fff155045e8 /vim/after/syntax
parentMerge branch 'feature/vim-plug-dist' into develop (diff)
downloaddotfiles-863d6e37d1ac0b4b164e4827a036041898020398.tar.gz
dotfiles-863d6e37d1ac0b4b164e4827a036041898020398.zip
Use full word "syntax" in sh.vim
Diffstat (limited to 'vim/after/syntax')
-rw-r--r--vim/after/syntax/sh.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim
index 4d56d3a8..9a26084f 100644
--- a/vim/after/syntax/sh.vim
+++ b/vim/after/syntax/sh.vim
@@ -122,14 +122,14 @@ if exists('b:is_posix')
" ${foo%bar}, ${foo%%bar}, ${foo#bar}, and ${foo##bar} are all valid forms
" of parameter expansion in POSIX, but sh.vim makes them conditional on
" Bash or Korn shell. We reinstate them (slightly adapted) here.
- syn match shDerefOp contained
+ syntax match shDerefOp contained
\ '##\|#\|%%\|%'
\ nextgroup=@shDerefPatternList
- syn match shDerefPattern contained
+ syntax match shDerefPattern contained
\ '[^{}]\+'
\ contains=shDeref,shDerefSimple,shDerefPattern,shDerefString,shCommandSub,shDerefEscape
\ nextgroup=shDerefPattern
- syn region shDerefPattern contained
+ syntax region shDerefPattern contained
\ start='{' end='}'
\ contains=shDeref,shDerefSimple,shDerefString,shCommandSub
\ nextgroup=shDerefPattern