diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-03-07 13:20:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-03-07 13:20:54 +0100 |
commit | 34700a6a15323a499d56b2f66a286fc368783371 (patch) | |
tree | 208ba037375ed002886ddbfa8f5c4eeed8327c7e /runtime/indent | |
parent | 7534221ebaba7244f4daaf54bb91206cf45e8a5e (diff) | |
download | vim-34700a6a15323a499d56b2f66a286fc368783371.zip |
Updated runtime files.
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 |