neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 97c39be1641ed49bbcfb7b613f672b13ccd409a2
parent d49fe235f70c91b60babe9d75602f5119c151cba
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 14 Feb 2026 06:55:23 +0800

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 <tarik.graba@telecom-paris.fr>

Diffstat:
Mruntime/ftplugin/systemverilog.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/runtime/ftplugin/systemverilog.vim b/runtime/ftplugin/systemverilog.vim @@ -2,6 +2,7 @@ " Language: SystemVerilog " Maintainer: kocha <kocha.lsifrontend@gmail.com> " 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\>,' .