annotate runtime/indent/testdir/tcl.ok @ 33892:d90f75f84362

runtime(doc): Sort options.txt alphabetically Commit: https://github.com/vim/vim/commit/3f7855a6123cce20db11b9047ab1860bcd56de63 Author: laburnumT <laburnumtec@gmail.com> Date: Tue Dec 5 18:37:03 2023 +0100 runtime(doc): Sort options.txt alphabetically Related to: vim/vimhttps://github.com/vim/vim/issues/13630 1. Sort section 3 (option-summary) of runtime/doc/options.txt in alphabetical order. 2. Remove double newlines in section 3 (option-summary). I did not alphabetically sort ttimeout and ttimeoutlen because they seem to belong with timeout and timeoutlen respectively, but I would like some input on that decision. Signed-off-by: laburnumT <laburnumtec@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Dec 2023 15:16:28 +0100
parents 8b334e4cb97f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15194
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
1 # vim: set filetype=tcl shiftwidth=4 tabstop=8 expandtab :
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 # START_INDENT
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 proc abc {} {
15194
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
5 set a 5
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
6 if {[some_cmd]==1} {
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
7 foreach i [list {1 2 3}] {
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
8 # Does this comment affect anything?
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
9 puts $i
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
10 }
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
11 }
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 }
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 command_with_a_long_time -arg1 "First" \
15194
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
15 -arg2 "Second" \
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
16 -arg3 "Third"
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 puts "Move indent back after line continuation is complete"
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 # END_INDENT