commit | 3ec574f2b549f456f664f689d6da36dc5719aeb9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jun 13 18:12:01 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jun 13 18:12:01 2017 +0200 |
tree | 8aa7d766ebc0eb3919fdc678e6f48dd0a2b36673 | |
parent | 2102035488e80ef6fd5038ed15d21672712ba0f6 [diff] [blame] |
Update runtime files. Includes changing &sw to shiftwidth() for all indent scripts.
diff --git a/runtime/indent/eruby.vim b/runtime/indent/eruby.vim index afabd4f..5058325 100644 --- a/runtime/indent/eruby.vim +++ b/runtime/indent/eruby.vim
@@ -47,11 +47,7 @@ function! GetErubyIndent(...) " The value of a single shift-width - if exists('*shiftwidth') - let sw = shiftwidth() - else - let sw = &sw - endif + let sw = shiftwidth() if a:0 && a:1 == '.' let v:lnum = line('.')