comparison runtime/syntax/sh.vim @ 10228:8a1481e59d64

commit https://github.com/vim/vim/commit/3e496b0ea31996b665824f45664dee1fdd73c4d0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 25 22:11:48 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 25 Sep 2016 22:15:04 +0200
parents 46763b01cd9a
children d75e2380db0e
comparison
equal deleted inserted replaced
10227:3c984cfd5293 10228:8a1481e59d64
379 ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc14 start="<<\\\z([^ \t|>]\+\)" matchgroup=shHereDoc14 end="^\z1\s*$" 379 ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc14 start="<<\\\z([^ \t|>]\+\)" matchgroup=shHereDoc14 end="^\z1\s*$"
380 ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc15 start="<<-\s*\\\z([^ \t|>]\+\)" matchgroup=shHereDoc15 end="^\s*\z1\s*$" 380 ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc15 start="<<-\s*\\\z([^ \t|>]\+\)" matchgroup=shHereDoc15 end="^\s*\z1\s*$"
381 381
382 " Here Strings: {{{1 382 " Here Strings: {{{1
383 " ============= 383 " =============
384 " available for: bash; ksh (really should be ksh93 only) but not if its a posix 384 " available for: bash; ksh (really should be ksh93 only) but not if it's a posix
385 if exists("b:is_bash") || (exists("b:is_kornshell") && !exists("g:is_posix")) 385 if exists("b:is_bash") || (exists("b:is_kornshell") && !exists("g:is_posix"))
386 syn match shHereString "<<<" skipwhite nextgroup=shCmdParenRegion 386 syn match shHereString "<<<" skipwhite nextgroup=shCmdParenRegion
387 endif 387 endif
388 388
389 " Identifiers: {{{1 389 " Identifiers: {{{1