From f96dfae52fe5ec211f6cfdf539882f2d10806374 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 19 Oct 2016 15:43:04 +0200 Subject: doc; vim-patch.sh Also include missing changes from: https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810 https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb --- runtime/plugin/matchit.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/plugin') diff --git a/runtime/plugin/matchit.vim b/runtime/plugin/matchit.vim index 8053b080e1..c0f1f08027 100644 --- a/runtime/plugin/matchit.vim +++ b/runtime/plugin/matchit.vim @@ -123,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. @@ -135,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 -- cgit