]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.046
- new
[packages/vim.git] / 7.0.046
CommitLineData
1242c4cb
AG
1To: vim-dev@vim.org
2Subject: Patch 7.0.046
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.046
11Problem: The matchparen plugin ignores parens in strings, but not in single
12 quotes, often marked with "character".
13Solution: Also ignore parens in syntax items matching "character".
14Files: runtime/plugin/matchparen.vim
15
16
17*** ../vim-7.0.045/runtime/plugin/matchparen.vim Sat May 13 14:52:02 2006
18--- runtime/plugin/matchparen.vim Mon Jun 26 10:53:35 2006
19***************
20*** 1,6 ****
21 " Vim plugin for showing matching parens
22 " Maintainer: Bram Moolenaar <Bram@vim.org>
23! " Last Change: 2006 May 11
24
25 " Exit quickly when:
26 " - this plugin was already loaded (or disabled)
27--- 1,6 ----
28 " Vim plugin for showing matching parens
29 " Maintainer: Bram Moolenaar <Bram@vim.org>
30! " Last Change: 2006 Jun 26
31
32 " Exit quickly when:
33 " - this plugin was already loaded (or disabled)
34***************
35*** 96,102 ****
36
37 " When not in a string or comment ignore matches inside them.
38 let s_skip ='synIDattr(synID(line("."), col("."), 0), "name") ' .
39! \ '=~? "string\\|comment"'
40 execute 'if' s_skip '| let s_skip = 0 | endif'
41
42 let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
43--- 96,102 ----
44
45 " When not in a string or comment ignore matches inside them.
46 let s_skip ='synIDattr(synID(line("."), col("."), 0), "name") ' .
47! \ '=~? "string\\|character\\|singlequote\\|comment"'
48 execute 'if' s_skip '| let s_skip = 0 | endif'
49
50 let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
51*** ../vim-7.0.045/src/version.c Tue Aug 8 17:06:21 2006
52--- src/version.c Tue Aug 8 18:07:37 2006
53***************
54*** 668,669 ****
55--- 668,671 ----
56 { /* Add new patch number below this line */
57+ /**/
58+ 46,
59 /**/
60
61--
62I AM THANKFUL...
63...for the taxes that I pay because it means that I am employed.
64
65 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
66/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
67\\\ download, build and distribute -- http://www.A-A-P.org ///
68 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.035263 seconds and 4 git commands to generate.