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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18186
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim indent file
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
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
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " Only load this indent file when no other was loaded.
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 if exists("b:did_indent")
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 finish
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 endif
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " The actual indenting is in sh.vim and controlled by buffer-local variables.
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 unlet! b:is_sh
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 unlet! b:is_kornshell
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 let b:is_bash = 1
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 runtime! indent/sh.vim
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 " vim: ts=8