runtime(vim): Update matchit pattern, no Vim9 short names
Commit:
https://github.com/vim/vim/commit/fc61cfd60e6d99765d1a68d39d6613e0917c7c56
Author: Doug Kearns <[email protected]>
Date: Fri Jan 3 10:28:09 2025 +0100
runtime(vim): Update matchit pattern, no Vim9 short names
Abbreviated :enum and :interface commands are no longer supported.
Signed-off-by: Doug Kearns <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index 11c05d192..d960da801 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -1,9 +1,9 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Doug Kearns <[email protected]>
-" Last Change: 2024 Apr 13
-" 2024 May 23 by Riley Bruins <[email protected]>
('commentstring')
+" Last Change: 2025 Jan 3
" Former Maintainer: Bram Moolenaar <[email protected]>
+" Contributors: Riley Bruins <[email protected]>
('commentstring')
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -108,8 +108,8 @@ if exists("loaded_matchit")
\
'\<try\>:\%(\%(^\||\)\s*\)\@<=\<cat\%[ch]\>:\%(\%(^\||\)\s*\)\@<=\<fina\%[lly]\>:\%(\%(^\||\)\s*\)\@<=\<endt\%[ry]\>,'
..
\ '\<aug\%[roup]\s\+\%(END\>\)\@!\S:\<aug\%[roup]\s\+END\>,' ..
\ '\<class\>:\<endclass\>,' ..
- \ '\<inte\%[rface]\>:\<endinterface\>,' ..
- \ '\<enu\%[m]\>:\<endenum\>,'
+ \ '\<interface\>:\<endinterface\>,' ..
+ \ '\<enum\>:\<endenum\>,'
" Ignore syntax region commands and settings, any 'en*' would clobber
" if-endif.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tTe0R-004afB-9a%40256bit.org.