summaryrefslogtreecommitdiffstats
path: root/runtime/indent/tcl.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-30 18:54:39 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-30 18:54:39 +0000
commitc9b4b05b3544b434730eb218e848a1a441d5ffb2 (patch)
treec1550ddf398d2030ed25ee98e8342fcb41ac1c87 /runtime/indent/tcl.vim
parentaa35dd1667c5903cdcc32ebe10f27bc6683c68a1 (diff)
updated for version 7.0gv7.0g
Diffstat (limited to 'runtime/indent/tcl.vim')
-rw-r--r--runtime/indent/tcl.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/indent/tcl.vim b/runtime/indent/tcl.vim
index 1b0cc16d5b..5a5aa1db6e 100644
--- a/runtime/indent/tcl.vim
+++ b/runtime/indent/tcl.vim
@@ -36,13 +36,13 @@ function s:count_braces(lnum, count_open)
while i != -1
if synIDattr(synID(a:lnum, i + 1, 0), 'name') !~ 'tcl\%(Comment\|String\)'
if line[i] == '{'
- let n_open += 1
+ let n_open += 1
elseif line[i] == '}'
- if n_open > 0
- let n_open -= 1
- else
- let n_close += 1
- endif
+ if n_open > 0
+ let n_open -= 1
+ else
+ let n_close += 1
+ endif
endif
endif
let i = match(line, pattern, i + 1)