diff options
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/falcon.vim | 3 | ||||
-rw-r--r-- | runtime/indent/sdl.vim | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/runtime/indent/falcon.vim b/runtime/indent/falcon.vim index 41f8f3470..46a228e8b 100644 --- a/runtime/indent/falcon.vim +++ b/runtime/indent/falcon.vim @@ -5,7 +5,6 @@ " Credits: Thanks to the ruby.vim authors, I borrow a lot! " Previous Maintainer: Brent A. Fulgham <bfulgham@debian.org> " ----------------------------------------------------------- -" GetLatestVimScripts: 2752 1 :AutoInstall: falcon.vim "====================================== " SETUP @@ -132,7 +131,7 @@ function FalconGetIndent() " If previous line ends in a semi-colon reset indent to previous " lines setting if prevline =~? ';\s*$' && prevnonblank(prevline) =~? ',\s*$' - return chg = chg - (2 * &sw) + let chg = chg - (2 * &sw) endif " If previous line ended in a comma, indent again diff --git a/runtime/indent/sdl.vim b/runtime/indent/sdl.vim index b5e535eea..ba03f2d3f 100644 --- a/runtime/indent/sdl.vim +++ b/runtime/indent/sdl.vim @@ -73,7 +73,7 @@ function! GetSDLIndent() " Systems and packages are always in column 0 if getline(v:lnum) =~? '^\s*\(\(end\)\=system\|\(end\)\=package\)' - return 0; + return 0 endif " Put each end* where the corresponding begin was |