view runtime/indent/testdir/tcl.ok @ 19017:d9ea4f0bfd34 v8.2.0069

patch 8.2.0069: ETYPE_ is used for two different enums Commit: https://github.com/vim/vim/commit/87396072c5c468f0c129e4ec7cd944ac897b7752 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 31 22:36:18 2019 +0100 patch 8.2.0069: ETYPE_ is used for two different enums Problem: ETYPE_ is used for two different enums. Solution: Rename one to use EXPR_.
author Bram Moolenaar <Bram@vim.org>
date Tue, 31 Dec 2019 22:45:03 +0100
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