summaryrefslogtreecommitdiff
path: root/runtime/indent
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-03-07 13:20:54 +0100
committerBram Moolenaar <Bram@vim.org>2013-03-07 13:20:54 +0100
commit34700a6a15323a499d56b2f66a286fc368783371 (patch)
tree208ba037375ed002886ddbfa8f5c4eeed8327c7e /runtime/indent
parent7534221ebaba7244f4daaf54bb91206cf45e8a5e (diff)
downloadvim-34700a6a15323a499d56b2f66a286fc368783371.zip
Updated runtime files.
Diffstat (limited to 'runtime/indent')
-rw-r--r--runtime/indent/falcon.vim3
-rw-r--r--runtime/indent/sdl.vim2
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