Skip to content

Commit fc61cfd

Browse files
dkearnschrisbra
authored andcommitted
runtime(vim): Update matchit pattern, no Vim9 short names
Abbreviated :enum and :interface commands are no longer supported. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent aa979c7 commit fc61cfd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

runtime/ftplugin/vim.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
" Vim filetype plugin
22
" Language: Vim
33
" Maintainer: Doug Kearns <dougkearns@gmail.com>
4-
" Last Change: 2024 Apr 13
5-
" 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
4+
" Last Change: 2025 Jan 3
65
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
6+
" Contributors: Riley Bruins <ribru17@gmail.com> ('commentstring')
77

88
" Only do this when not done yet for this buffer
99
if exists("b:did_ftplugin")
@@ -108,8 +108,8 @@ if exists("loaded_matchit")
108108
\ '\<try\>:\%(\%(^\||\)\s*\)\@<=\<cat\%[ch]\>:\%(\%(^\||\)\s*\)\@<=\<fina\%[lly]\>:\%(\%(^\||\)\s*\)\@<=\<endt\%[ry]\>,' ..
109109
\ '\<aug\%[roup]\s\+\%(END\>\)\@!\S:\<aug\%[roup]\s\+END\>,' ..
110110
\ '\<class\>:\<endclass\>,' ..
111-
\ '\<inte\%[rface]\>:\<endinterface\>,' ..
112-
\ '\<enu\%[m]\>:\<endenum\>,'
111+
\ '\<interface\>:\<endinterface\>,' ..
112+
\ '\<enum\>:\<endenum\>,'
113113

114114
" Ignore syntax region commands and settings, any 'en*' would clobber
115115
" if-endif.

0 commit comments

Comments
 (0)