annotate runtime/indent/vim.vim @ 33041:5334aca4cef4 v9.0.1811

patch 9.0.1811: still some issues with term_debug test Commit: https://github.com/vim/vim/commit/85c3a5bc265393c1b8b93d8b88b936d3b8b4aec7 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Aug 27 21:59:54 2023 +0200 patch 9.0.1811: still some issues with term_debug test Problem: still some issues with term_debug test Solution: Use WaitForAssert() closes: #12936 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2023 22:15:03 +0200
parents 4027cefc2aab
children 5ac476543458
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30547
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
1 vim9script
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
2
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
3 # Vim indent file
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
4 # Language: Vim script
32770
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 32004
diff changeset
5 # Maintainer: The Vim Project <https://github.com/vim/vim>
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 32004
diff changeset
6 # Last Change: 2023 Aug 10
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 32004
diff changeset
7 # Former Maintainer: Bram Moolenaar <Bram@vim.org>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
30547
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
9 # Only load this indent file when no other was loaded.
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
10 if exists('b:did_indent')
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
11 finish
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
30547
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
13
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
14 b:did_indent = true
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
15 b:undo_indent = 'setlocal indentkeys< indentexpr<'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
30547
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
17 import autoload '../autoload/dist/vimindent.vim'
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
18
30875
3295247d97a5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30547
diff changeset
19 setlocal indentexpr=vimindent.Expr()
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 30875
diff changeset
20 setlocal indentkeys+==endif,=enddef,=endfu,=endfor,=endwh,=endtry,=endclass,=endinterface,=endenum,=},=else,=cat,=finall,=END,0\\
30547
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
21 execute('setlocal indentkeys+=0=\"\\\ ,0=#\\\ ')
21499
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19181
diff changeset
22 setlocal indentkeys-=0#
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 26100
diff changeset
23 setlocal indentkeys-=: