mirror of
https://github.com/neovim/neovim.git
synced 2026-02-17 18:01:16 +10:00
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
10f5573672
Co-authored-by: TG <tarik.graba@telecom-paris.fr>
This commit is contained in:
@@ -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\>,' .
|
||||
|
||||
Reference in New Issue
Block a user