aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-01-03 19:20:21 +0800
committerGitHub <noreply@github.com>2025-01-03 19:20:21 +0800
commitc26951b1d6d4d7ff8fe431e8bfb16744ff56af1c (patch)
tree07957568d222c144ae3fa1e26e7f521ecae051eb
parentfa298fd2f4b0c46df434938cbc17467e263cc094 (diff)
downloadrneovim-c26951b1d6d4d7ff8fe431e8bfb16744ff56af1c.tar.gz
rneovim-c26951b1d6d4d7ff8fe431e8bfb16744ff56af1c.tar.bz2
rneovim-c26951b1d6d4d7ff8fe431e8bfb16744ff56af1c.zip
vim-patch:fc61cfd: runtime(vim): Update matchit pattern, no Vim9 short names (#31843)
Abbreviated :enum and :interface commands are no longer supported. https://github.com/vim/vim/commit/fc61cfd60e6d99765d1a68d39d6613e0917c7c56 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
-rw-r--r--runtime/ftplugin/vim.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index b5e8e693f6..3eaf748996 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -1,9 +1,9 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2024 Apr 13
-" 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
+" Last Change: 2025 Jan 3
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
+" Contributors: Riley Bruins <ribru17@gmail.com> ('commentstring')
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -103,8 +103,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.