Mercurial > vim
view runtime/indent/testdir/tcl.in @ 20255:aac52c32a91f v8.2.0683
patch 8.2.0683: Vim9: parsing type does not always work
Commit: https://github.com/vim/vim/commit/5adc55cb746893c6ddf7865ff654582902dee2e3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 2 23:12:58 2020 +0200
patch 8.2.0683: Vim9: parsing type does not always work
Problem: Vim9: parsing type does not always work.
Solution: Handle func type without return value. Test more closures.
Fix type check offset. Fix garbage collection.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 May 2020 23: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