vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

tcl.ok (403B)


      1 # vim: set filetype=tcl shiftwidth=4 tabstop=8 expandtab :
      2 
      3 # START_INDENT
      4 proc abc {} {
      5     set a 5
      6     if {[some_cmd]==1} {
      7         foreach i [list {1 2 3}] {
      8             # Does this comment affect anything?
      9             puts $i
     10         }
     11     }
     12 }
     13 
     14 command_with_a_long_time -arg1 "First" \
     15     -arg2 "Second" \
     16     -arg3 "Third"
     17 
     18 puts "Move indent back after line continuation is complete"
     19 # END_INDENT