Bram Moolenaar | 5be4cee | 2019-09-27 19:34:08 +0200 | [diff] [blame] | 1 | " Vim indent file |
| 2 | " Language: bash |
Christian Brabandt | e8d6f03 | 2023-08-23 20:23:07 +0100 | [diff] [blame] | 3 | " Maintainer: The Vim Project <https://github.com/vim/vim> |
| 4 | " Last Change: 2023 Aug 13 |
Bram Moolenaar | 5be4cee | 2019-09-27 19:34:08 +0200 | [diff] [blame] | 5 | |
| 6 | " Only load this indent file when no other was loaded. |
| 7 | if exists("b:did_indent") |
| 8 | finish |
| 9 | endif |
| 10 | |
| 11 | " The actual indenting 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! indent/sh.vim |
| 17 | |
| 18 | " vim: ts=8 |