aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/sh.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-06-07 16:00:31 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-06-07 16:00:31 -0400
commit00fc216e2be1f3a32fd31fb08a2ecdc66acd0543 (patch)
tree801ede4a6cc27a352a189882047c4185157fdc02 /runtime/syntax/sh.vim
parent8849c209cc0ae94d60a814b55397d80c2c16a185 (diff)
parente056e5d5585b9c5118be8dba046638c872c00ba7 (diff)
downloadrneovim-00fc216e2be1f3a32fd31fb08a2ecdc66acd0543.tar.gz
rneovim-00fc216e2be1f3a32fd31fb08a2ecdc66acd0543.tar.bz2
rneovim-00fc216e2be1f3a32fd31fb08a2ecdc66acd0543.zip
Merge #4890 from jamessan/vim-38a5563
vim-patch:38a5563,e0fa374,decb14d
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 909ead81f1..15a00eb516 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