diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-16 17:41:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-16 17:41:02 +0100 |
commit | 036986f1507d223549d110af300144468bd3a1f7 (patch) | |
tree | 4ceb878909e769f23d6deeae3bbb03d16e974f0d /runtime/indent/tcsh.vim | |
parent | 8820b48654b62472821d9b155fe03ab7ac13a05c (diff) | |
download | vim-git-036986f1507d223549d110af300144468bd3a1f7.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/indent/tcsh.vim')
-rw-r--r-- | runtime/indent/tcsh.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/indent/tcsh.vim b/runtime/indent/tcsh.vim index 59a9d56f4..ed08e6c6e 100644 --- a/runtime/indent/tcsh.vim +++ b/runtime/indent/tcsh.vim @@ -32,17 +32,17 @@ function TcshGetIndent() let ind = indent(lnum) let line = getline(lnum) if line =~ '\v^\s*%(while|foreach)>|^\s*%(case\s.*:|default:|else)\s*$|%(<then|\\)$' - let ind = ind + &sw + let ind = ind + shiftwidth() endif if line =~ '\v^\s*breaksw>' - let ind = ind - &sw + let ind = ind - shiftwidth() endif " Subtract indent if current line has on end, endif, case commands let line = getline(v:lnum) if line =~ '\v^\s*%(else|end|endif)\s*$' - let ind = ind - &sw + let ind = ind - shiftwidth() endif return ind |