Since I usually use a blank line to denote start of a new codeblock (function, class, etc.) I defined the following syntax rule.
The intent is to make the first line of a code block standout.
While the pattern works, It replaces the color coding of the individual keywords in the line with a white color. What is the best way to ensure that the color is retained?
syntax region BlankLine start='^\s*$' end='^\s*\S.*'
highlight BlankLine ctermbg=NONE ctermfg=NONE cterm=underline,bold
"highlight BlankLine cterm=underline,bold
:h syn-priority
?:match
,matchadd()
and such.