comparison runtime/syntax/sh.vim @ 10048:43efa4f5a8ea

commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 30 23:26:57 2016 +0200 Updated runtime files. Remove version checks for Vim older than 6.0.
author Christian Brabandt <cb@256bit.org>
date Tue, 30 Aug 2016 23:30:09 +0200
parents 8061455d9179
children 46763b01cd9a
comparison
equal deleted inserted replaced
10047:a62862410ca1 10048:43efa4f5a8ea
6 " Version: 162 6 " Version: 162
7 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH 7 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
8 " For options and settings, please use: :help ft-sh-syntax 8 " For options and settings, please use: :help ft-sh-syntax
9 " This file includes many ideas from Eric Brunet (eric.brunet@ens.fr) 9 " This file includes many ideas from Eric Brunet (eric.brunet@ens.fr)
10 10
11 " For version 5.x: Clear all syntax items {{{1 11 " quit when a syntax file was already loaded
12 " For version 6.x: Quit when a syntax file was already loaded 12 if exists("b:current_syntax")
13 if v:version < 600
14 syntax clear
15 elseif exists("b:current_syntax")
16 finish 13 finish
17 endif 14 endif
18 15
19 " trying to answer the question: which shell is /bin/sh, really? 16 " trying to answer the question: which shell is /bin/sh, really?
20 " If the user has not specified any of g:is_kornshell, g:is_bash, g:is_posix, g:is_sh, then guess. 17 " If the user has not specified any of g:is_kornshell, g:is_bash, g:is_posix, g:is_sh, then guess.