Mercurial > vim
annotate runtime/ftplugin/systemverilog.vim @ 25464:f0546dfb74e2
Added tag v8.2.3268 for changeset 05f9e8f2016c599b1ad0ab2ad5ef604d44c10fe2
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Aug 2021 15:00:06 +0200 |
parents | 840665e74421 |
children | 11b656e74444 |
rev | line source |
---|---|
5663
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
1 " Vim filetype plugin file |
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
2 " Language: SystemVerilog |
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
3 " Maintainer: kocha <kocha.lsifrontend@gmail.com> |
24636 | 4 " Last Change: 07-May-2021 |
5663
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
5 |
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
6 if exists("b:did_ftplugin") |
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
7 finish |
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
8 endif |
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
9 |
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
10 " Behaves just like Verilog |
1dea14d4c738
Update runtime files. Add support for systemverilog.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
11 runtime! ftplugin/verilog.vim |
24636 | 12 |
13 let s:cpo_save = &cpo | |
14 set cpo&vim | |
15 | |
16 " Add SystemVerilog keywords for matchit plugin. | |
17 if exists("loaded_matchit") | |
18 let b:match_words = | |
19 \ '\<begin\>:\<end\>,' . | |
20 \ '\<case\>\|\<casex\>\|\<casez\>:\<endcase\>,' . | |
21 \ '\<module\>:\<endmodule\>,' . | |
22 \ '\<if\>:`\@<!\<else\>,' . | |
23 \ '\<function\>:\<endfunction\>,' . | |
24 \ '`ifn\?def\>:`elsif\>:`else\>:`endif\>,' . | |
25 \ '\<task\>:\<endtask\>,' . | |
26 \ '\<specify\>:\<endspecify\>,' . | |
27 \ '\<config\>:\<endconfig\>,' . | |
28 \ '\<generate\>:\<endgenerate\>,' . | |
29 \ '\<fork\>:\<join\>\|\<join_any\>\|\<join_none\>,' . | |
30 \ '\<primitive\>:\<endprimitive\>,' . | |
31 \ '\<table\>:\<endtable\>,' . | |
32 \ '\<checker\>:\<endchecker\>,' . | |
33 \ '\<class\>:\<endclass\>,' . | |
34 \ '\<clocking\>:\<endclocking\>,' . | |
35 \ '\<gruop\>:\<endgruop\>,' . | |
36 \ '\<interface\>:\<endinterface\>,' . | |
37 \ '\<package\>:\<endpackage\>,' . | |
38 \ '\<program\>:\<endprogram\>,' . | |
39 \ '\<property\>:\<endproperty\>,' . | |
40 \ '\<sequence\>:\<endsequence\>' | |
41 endif | |
42 | |
43 let &cpo = s:cpo_save | |
44 unlet s:cpo_save |