view runtime/indent/testdir/tcl.in @ 28998:983ec746af54 v8.2.5021

patch 8.2.5021: build fails with normal features and +terminal Commit: https://github.com/vim/vim/commit/30b9a41ad9963b8c57afea1f33a4e180fc23a892 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 26 14:06:37 2022 +0100 patch 8.2.5021: build fails with normal features and +terminal Problem: Build fails with normal features and +terminal. (Dominique Pell?) Solution: Add #ifdefs. (closes https://github.com/vim/vim/issues/10484)
author Bram Moolenaar <Bram@vim.org>
date Thu, 26 May 2022 15:15:03 +0200
parents 8b334e4cb97f
children
line wrap: on
line source

# vim: set filetype=tcl shiftwidth=4 tabstop=8 expandtab :

# START_INDENT
proc abc {} {
set a 5
if {[some_cmd]==1} {
foreach i [list {1 2 3}] {
# Does this comment affect anything?
puts $i
}
}
}

command_with_a_long_time -arg1 "First" \
-arg2 "Second" \
-arg3 "Third"

puts "Move indent back after line continuation is complete"
# END_INDENT