commit | 036986f1507d223549d110af300144468bd3a1f7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Mar 16 17:41:02 2017 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Mar 16 17:41:02 2017 +0100 |
tree | 4ceb878909e769f23d6deeae3bbb03d16e974f0d | |
parent | 8820b48654b62472821d9b155fe03ab7ac13a05c [diff] [blame] |
Update runtime files.
diff --git a/runtime/indent/treetop.vim b/runtime/indent/treetop.vim index 01716e7..2c6eecf 100644 --- a/runtime/indent/treetop.vim +++ b/runtime/indent/treetop.vim
@@ -26,12 +26,12 @@ let line = getline(pnum) if line =~ '^\s*\%(grammar\|module\|rule\)\>' - let ind += &sw + let ind += shiftwidth() endif let line = getline(v:lnum) if line =~ '^\s*end\>' - let ind -= &sw + let ind -= shiftwidth() end retur ind