From fc61cfd60e6d99765d1a68d39d6613e0917c7c56 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 3 Jan 2025 10:28:09 +0100 Subject: [PATCH] runtime(vim): Update matchit pattern, no Vim9 short names Abbreviated :enum and :interface commands are no longer supported. Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- runtime/ftplugin/vim.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim index 11c05d192b..d960da801e 100644 --- a/runtime/ftplugin/vim.vim +++ b/runtime/ftplugin/vim.vim @@ -1,9 +1,9 @@ " Vim filetype plugin " Language: Vim " Maintainer: Doug Kearns -" Last Change: 2024 Apr 13 -" 2024 May 23 by Riley Bruins ('commentstring') +" Last Change: 2025 Jan 3 " Former Maintainer: Bram Moolenaar +" Contributors: Riley Bruins ('commentstring') " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -108,8 +108,8 @@ if exists("loaded_matchit") \ '\:\%(\%(^\||\)\s*\)\@<=\:\%(\%(^\||\)\s*\)\@<=\:\%(\%(^\||\)\s*\)\@<=\,' .. \ '\\)\@!\S:\,' .. \ '\:\,' .. - \ '\:\,' .. - \ '\:\,' + \ '\:\,' .. + \ '\:\,' " Ignore syntax region commands and settings, any 'en*' would clobber " if-endif.