Commit: runtime(sdc): Add underscore to sdc flags in syntax file (#6201)

3 views
Skip to first unread message

Christian Brabandt

unread,
Aug 20, 2023, 4:01:37 PM8/20/23
to vim...@googlegroups.com
runtime(sdc): Add underscore to sdc flags in syntax file (#6201)

Commit: https://github.com/vim/vim/commit/6d626c41842e2c3ab698338bbe5fcfcf0557ecd8
Author: Jordi Altayó <jordi...@gmail.com>
Date: Sun Aug 20 21:45:13 2023 +0200

runtime(sdc): Add underscore to sdc flags in syntax file (https://github.com/vim/vim/issues/6201)

diff --git a/runtime/syntax/sdc.vim b/runtime/syntax/sdc.vim
index 0ca9becf7..dbfa35eeb 100644
--- a/runtime/syntax/sdc.vim
+++ b/runtime/syntax/sdc.vim
@@ -25,7 +25,7 @@ syn keyword sdcNonIdealities set_load set_min_capacitance set_max_capacitance
syn keyword sdcCreateOperations create_clock create_timing_netlist update_timing_netlist

" command flags highlighting
-syn match sdcFlags "[[:space:]]-[[:alpha:]]*\>"
+syn match sdcFlags "[[:space:]]-[[:alpha:]_]*\>"

" Define the default highlighting.
hi def link sdcCollections Repeat
Reply all
Reply to author
Forward
0 new messages