view runtime/indent/testdir/tcl.ok @ 20585:0b55c9a14ea1 v8.2.0846

patch 8.2.0846: build failure with small features Commit: https://github.com/vim/vim/commit/d5c2c7763d73b91efd64a49da8221f9955debdd5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 16:17:33 2020 +0200 patch 8.2.0846: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 16:30: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