runtime(systemverilog): use correct matchit pattern for the covergroup block

Commit: 
https://github.com/vim/vim/commit/10f5573672cb2656ed70a9ac9b9a995ceba3d8ed
Author: TG <[email protected]>
Date:   Fri Feb 13 16:14:27 2026 +0000

    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: #19393
    
    Signed-off-by: TG <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/ftplugin/systemverilog.vim 
b/runtime/ftplugin/systemverilog.vim
index 38ed1ad32..145e11542 100644
--- a/runtime/ftplugin/systemverilog.vim
+++ b/runtime/ftplugin/systemverilog.vim
@@ -2,6 +2,7 @@
 " Language:    SystemVerilog
 " Maintainer:  kocha <[email protected]>
 " 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")
     \ '\<checker\>:\<endchecker\>,' .
     \ '\<class\>:\<endclass\>,' .
     \ '\<clocking\>:\<endclocking\>,' .
-    \ '\<group\>:\<endgroup\>,' .
+    \ '\<covergroup\>:\<endgroup\>,' .
     \ '\<interface\>:\<endinterface\>,' .
     \ '\<package\>:\<endpackage\>,' .
     \ '\<program\>:\<endprogram\>,' .

-- 
-- 
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/E1vqvov-00AHlj-L2%40256bit.org.

Raspunde prin e-mail lui