diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-29 23:12:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-29 23:12:46 +0200 |
commit | 7db8f6f4f85e5d0526d23107b2a5e2334dc23354 (patch) | |
tree | 13adf1686ec5472781d3f858c9f7c64f3b1a8d1d /runtime/syntax/sh.vim | |
parent | 7fed5c18f8577b75404b80d8b9a9907b1bbd27e4 (diff) | |
download | vim-git-7db8f6f4f85e5d0526d23107b2a5e2334dc23354.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/sh.vim')
-rw-r--r-- | runtime/syntax/sh.vim | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim index 3fc236f03..8b0a91f67 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: Feb 18, 2016 -" Version: 145 +" Last Change: Mar 12, 2016 +" Version: 146 " 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) @@ -185,7 +185,7 @@ endif " Options: {{{1 " ==================== -syn match shOption "\s\zs[-+][-_a-zA-Z0-9#]\+" +syn match shOption "\s\zs[-+][-_a-zA-Z#@]\+" syn match shOption "\s\zs--[^ \t$`'"|);]\+" " File Redirection Highlighted As Operators: {{{1 @@ -317,7 +317,8 @@ syn match shColon '^\s*\zs:' " String And Character Constants: {{{1 "================================ -syn match shNumber "-\=\<\d\+\>#\=" +syn match shNumber "\<\d\+\>#\=" +syn match shNumber "-\=\.\=\d\+\>#\=" syn match shCtrlSeq "\\\d\d\d\|\\[abcfnrtv0]" contained if exists("b:is_bash") syn match shSpecial "\\\o\o\o\|\\x\x\x\|\\c[^"]\|\\[abefnrtv]" contained |