Bram Moolenaar | 5be4cee | 2019-09-27 19:34:08 +0200 | [diff] [blame] | 1 | " Vim syntax file |
2 | " Language: bash | ||||
3 | " Maintainer: Bram | ||||
4 | " Last Change: 2019 Sep 27 | ||||
5 | |||||
6 | " quit when a syntax file was already loaded | ||||
7 | if exists("b:current_syntax") | ||||
8 | finish | ||||
9 | endif | ||||
10 | |||||
11 | " The actual syntax is in sh.vim and controlled by buffer-local variables. | ||||
12 | unlet! b:is_sh | ||||
13 | unlet! b:is_kornshell | ||||
14 | let b:is_bash = 1 | ||||
15 | |||||
16 | runtime! syntax/sh.vim | ||||
17 | |||||
18 | let b:current_syntax = 'bash' | ||||
19 | |||||
20 | " vim: ts=8 |