Mercurial > vim
annotate runtime/indent/bash.vim @ 35225:f8e7e00787b5 default tip
runtime(vb): update vb indent plugin as vim9script
Commit: https://github.com/vim/vim/commit/af2254d2f3c1c59add065363dccb53ddb0edadf5
Author: Michael Soyka <mssr953@gmail.com>
Date: Mon May 20 14:37:50 2024 +0200
runtime(vb): update vb indent plugin as vim9script
Include an updated vb indent script using vim9script.
Also update the runtime indent test files
Signed-off-by: Michael Soyka <mssr953@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 20 May 2024 14:45:02 +0200 |
parents | 71cbad0921c9 |
children |
rev | line source |
---|---|
18186 | 1 " Vim indent file |
2 " Language: bash | |
32975
71cbad0921c9
runtime: Remove Brams name from a few more runtime files (#12780)
Christian Brabandt <cb@256bit.org>
parents:
18186
diff
changeset
|
3 " Maintainer: The Vim Project <https://github.com/vim/vim> |
71cbad0921c9
runtime: Remove Brams name from a few more runtime files (#12780)
Christian Brabandt <cb@256bit.org>
parents:
18186
diff
changeset
|
4 " Last Change: 2023 Aug 13 |
18186 | 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 |