]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(dtrace): handle DTrace probe highlighting before action blocks
authorVladimír Marek <vlmarek13@gmail.com>
Mon, 22 Jun 2026 19:55:32 +0000 (19:55 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 22 Jun 2026 19:55:32 +0000 (19:55 +0000)
commit4ed61e0a199d635c6cdaaff6c0657db3a8d3d445
tree4b6fdd2ed6ba093efd38281f721eec587d7b79ac
parent6fd0a9cc303c94c9f894f7f52181bd0b1f06f4b3
runtime(dtrace): handle DTrace probe highlighting before action blocks

Recognize DTrace probe descriptions that are followed immediately by an
action block, such as:

    BEGIN{ trace(1); }
    syscall::open:entry{ trace(1); }

The fourth probe field now consumes the remaining non-whitespace text, and
the lookahead allows zero or more whitespace before the following token.

closes: #20560

Signed-off-by: Vladimír Marek <vlmarek13@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/dtrace.vim