From 97c39be1641ed49bbcfb7b613f672b13ccd409a2 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 14 Feb 2026 06:55:23 +0800 Subject: [PATCH] vim-patch:10f5573: runtime(systemverilog): use correct matchit pattern for the covergroup block A covergroup start with the "covergroup" keyword and ends with the "endgroup" keyword. "group" is not even a reserved keyword in systemverilog. Reference: https://www.chipverify.com/systemverilog/systemverilog-covergroup-coverpoint#covergroup https://github.com/MikePopoloski/slang/blob/master/docs/grammar.md#covergroup_declaration closes: vim/vim#19393 https://github.com/vim/vim/commit/10f5573672cb2656ed70a9ac9b9a995ceba3d8ed Co-authored-by: TG --- runtime/ftplugin/systemverilog.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/ftplugin/systemverilog.vim b/runtime/ftplugin/systemverilog.vim index 38ed1ad32a..145e115426 100644 --- a/runtime/ftplugin/systemverilog.vim +++ b/runtime/ftplugin/systemverilog.vim @@ -2,6 +2,7 @@ " Language: SystemVerilog " Maintainer: kocha " Last Change: 07-May-2021 +" 2026 Feb 13 by Vim project: correct matchit covergroup block #19394 if exists("b:did_ftplugin") finish @@ -32,7 +33,7 @@ if exists("loaded_matchit") \ '\:\,' . \ '\:\,' . \ '\:\,' . - \ '\:\,' . + \ '\:\,' . \ '\:\,' . \ '\:\,' . \ '\:\,' .