summaryrefslogtreecommitdiff
path: root/runtime/syntax/sh.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-20 15:47:01 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-20 15:47:01 +0100
commite0fa3742ead676a3074a10edadbc955e1a89153d (patch)
treeaa086b4b4afed7f5000164fc75fcf83db4e2ee92 /runtime/syntax/sh.vim
parentc6b14f0a8346ec7ddd86f3349d0b861a1b500147 (diff)
downloadvim-git-e0fa3742ead676a3074a10edadbc955e1a89153d.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/syntax/sh.vim')
-rw-r--r--runtime/syntax/sh.vim9
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim
index 909ead81f..15a00eb51 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: Dec 11, 2015
-" Version: 143
+" Last Change: Feb 16, 2016
+" Version: 144
" 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)
@@ -85,6 +85,11 @@ if g:sh_fold_enabled && &fdm == "manual"
setl fdm=syntax
endif
+" set up the syntax-highlighting iskeyword
+if has("patch-7.4.1141")
+ exe "syn iskeyword ".&iskeyword.",-"
+endif
+
" Set up folding commands for shell {{{1
" =================================
if s:sh_fold_functions