Skip to content

Commit

Permalink
setlocal, not set indentexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Jan 31, 2008
1 parent c154970 commit f94b983
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
2008-01-31 Tim Pope <vim@tpope.info>

* indent/eruby.vim: setlocal, not set indentexpr

2008-01-28 Tim Pope <vim@tpope.info>

* syntax/ruby.vim: better heuristic for regexps as method arguments
Expand Down
4 changes: 2 additions & 2 deletions indent/eruby.vim
@@ -1,7 +1,7 @@
" Vim indent file
" Language: eRuby
" Maintainer: Tim Pope <vimNOSPAM@tpope.info>
" Info: $Id: eruby.vim,v 1.13 2008/01/22 15:23:18 tpope Exp $
" Info: $Id: eruby.vim,v 1.14 2008/01/31 23:23:08 tpope Exp $
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
Expand All @@ -12,7 +12,7 @@ endif

runtime! indent/ruby.vim
unlet! b:did_indent
set indentexpr=
setlocal indentexpr=

if exists("b:eruby_subtype")
exe "runtime! indent/".b:eruby_subtype.".vim"
Expand Down

0 comments on commit f94b983

Please sign in to comment.