diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-09-21 14:54:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-09-21 14:54:30 +0200 |
commit | d09acef44bcfa5871d6e9a2eea21c911dfbeef13 (patch) | |
tree | a9b25a538cfbb0dccc0336064a66dbf5995a491c /runtime/ftplugin/changelog.vim | |
parent | 66b7985ec9e4924abc370636077ed33114d0327d (diff) | |
download | vim-git-d09acef44bcfa5871d6e9a2eea21c911dfbeef13.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/ftplugin/changelog.vim')
-rw-r--r-- | runtime/ftplugin/changelog.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ftplugin/changelog.vim b/runtime/ftplugin/changelog.vim index dafcbe20f..ee83c7917 100644 --- a/runtime/ftplugin/changelog.vim +++ b/runtime/ftplugin/changelog.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: generic Changelog file " Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2011-05-02 +" Latest Revision: 2012-08-23 " Variables: " g:changelog_timeformat (deprecated: use g:changelog_dateformat instead) - " description: the timeformat used in ChangeLog entries. @@ -106,10 +106,10 @@ if &filetype == 'changelog' function! s:passwd_field(line, field) let fields = split(a:line, ':', 1) - if len(fields) < field + if len(fields) < a:field return "" endif - return fields[field - 1] + return fields[a:field - 1] endfunction function! s:capitalize(word) |