Commit: runtime(vim): Remove trailing comma from match_words

2 views
Skip to first unread message

Christian Brabandt

unread,
Jan 6, 2025, 12:15:15 PM1/6/25
to vim...@googlegroups.com
runtime(vim): Remove trailing comma from match_words

Commit: https://github.com/vim/vim/commit/7ceaa8f3ddbaad75fa02f91c0b354661b38253cb
Author: Doug Kearns <dougk...@gmail.com>
Date: Mon Jan 6 18:12:11 2025 +0100

runtime(vim): Remove trailing comma from match_words

fixes: https://github.com/vim/vim/issues/16377 (`filetype plugin indent on` breaks matchit).
closes: https://github.com/vim/vim/issues/16389

Signed-off-by: Doug Kearns <dougk...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index d960da801..2c883a537 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Doug Kearns <dougk...@gmail.com>
-" Last Change: 2025 Jan 3
+" Last Change: 2025 Jan 06
" Former Maintainer: Bram Moolenaar <Br...@vim.org>
" Contributors: Riley Bruins <rib...@gmail.com> ('commentstring')

@@ -109,7 +109,7 @@ if exists("loaded_matchit")
\ '\<aug\%[roup]\s\+\%(END\>\)\@!\S:\<aug\%[roup]\s\+END\>,' ..
\ '\<class\>:\<endclass\>,' ..
\ '\<interface\>:\<endinterface\>,' ..
- \ '\<enum\>:\<endenum\>,'
+ \ '\<enum\>:\<endenum\>'

" Ignore syntax region commands and settings, any 'en*' would clobber
" if-endif.
Reply all
Reply to author
Forward
0 new messages