diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-11-07 23:50:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-07 23:50:10 +0100 |
| commit | bbf730aa3180c4522c34f4529130827874be25d1 (patch) | |
| tree | fc1c6d82d3e340ebfc268b8274c24f1790c3849f /runtime/ftplugin/c.vim | |
| parent | ae569ea57b1df1b450803b6d23ab8c315dd72e72 (diff) | |
| parent | 2ca59638ba04d11c397496d4f12f4d24e3461f0e (diff) | |
| download | rneovim-bbf730aa3180c4522c34f4529130827874be25d1.tar.gz rneovim-bbf730aa3180c4522c34f4529130827874be25d1.tar.bz2 rneovim-bbf730aa3180c4522c34f4529130827874be25d1.zip | |
Merge #7503 from justinmk/vim-patches
Diffstat (limited to 'runtime/ftplugin/c.vim')
| -rw-r--r-- | runtime/ftplugin/c.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ftplugin/c.vim b/runtime/ftplugin/c.vim index 3717ea92a9..6047f9f863 100644 --- a/runtime/ftplugin/c.vim +++ b/runtime/ftplugin/c.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2016 Jun 12 +" Last Change: 2017 Sep 28 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -30,8 +30,8 @@ endif setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// " When the matchit plugin is loaded, this makes the % command skip parens and -" braces in comments. -let b:match_words = &matchpairs . ',^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>' +" braces in comments properly. +let b:match_words = '^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>' let b:match_skip = 's:comment\|string\|character\|special' " Win32 can filter files in the browse dialog |