aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/c.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-11-07 20:43:11 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-11-07 23:07:03 +0100
commit4175dfac9a91e30d01e5aec6b45ed81e0288aaf9 (patch)
tree066a1dc529d281003252d43cbd97b0a3bd835115 /runtime/ftplugin/c.vim
parentea51f08276ce7c9386b88b320fd63ae71324351a (diff)
downloadrneovim-4175dfac9a91e30d01e5aec6b45ed81e0288aaf9.tar.gz
rneovim-4175dfac9a91e30d01e5aec6b45ed81e0288aaf9.tar.bz2
rneovim-4175dfac9a91e30d01e5aec6b45ed81e0288aaf9.zip
vim-patch:01164a6546b4
Long overdue runtime update. https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66
Diffstat (limited to 'runtime/ftplugin/c.vim')
-rw-r--r--runtime/ftplugin/c.vim6
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