summaryrefslogtreecommitdiff
path: root/runtime/pack
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-05-20 17:24:11 +0200
committerBram Moolenaar <Bram@vim.org>2016-05-20 17:24:11 +0200
commit06d2d38ab7564e1f784b1058a4ef4580cd6d1810 (patch)
treefc97dcc4b6485cf9fe9f2ba92e276a8a998032b5 /runtime/pack
parentdc303bce10c60a3314078ea168064552fadf01af (diff)
downloadvim-git-06d2d38ab7564e1f784b1058a4ef4580cd6d1810.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/pack')
-rw-r--r--runtime/pack/dist/opt/matchit/plugin/matchit.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/pack/dist/opt/matchit/plugin/matchit.vim b/runtime/pack/dist/opt/matchit/plugin/matchit.vim
index 70867b1f9..42a6c3e5d 100644
--- a/runtime/pack/dist/opt/matchit/plugin/matchit.vim
+++ b/runtime/pack/dist/opt/matchit/plugin/matchit.vim
@@ -2,6 +2,7 @@
" Last Change: Fri Jan 25 10:00 AM 2008 EST
" Maintainer: Benji Fisher PhD <benji@member.AMS.org>
" Version: 1.13.2, for Vim 6.3+
+" Fix from Fernando Torres included.
" URL: http://www.vim.org/script.php?script_id=39
" Documentation:
@@ -122,7 +123,6 @@ function! s:Match_wrapper(word, forward, mode) range
" Thanks to Preben "Peppe" Guldberg and Bram Moolenaar for this suggestion!
if (match_words != s:last_words) || (&mps != s:last_mps) ||
\ exists("b:match_debug")
- let s:last_words = match_words
let s:last_mps = &mps
" The next several lines were here before
" BF started messing with this script.
@@ -134,6 +134,7 @@ function! s:Match_wrapper(word, forward, mode) range
\ '\/\*:\*\/,#\s*if\%(def\)\=:#\s*else\>:#\s*elif\>:#\s*endif\>'
" s:all = pattern with all the keywords
let match_words = match_words . (strlen(match_words) ? "," : "") . default
+ let s:last_words = match_words
if match_words !~ s:notslash . '\\\d'
let s:do_BR = 0
let s:pat = match_words