Mercurial > vim
view runtime/syntax/testdir/dumps/vim_ex_commands_18.dump @ 34611:1790ce961c7d
runtime(vim): Update base-syntax, improve function definition highlighting (#14203)
Commit: https://github.com/vim/vim/commit/35e6f4ca27c8115c606f265e4b09e11db01c970d
Author: dkearns <dougkearns@gmail.com>
Date: Fri Mar 22 06:41:10 2024 +1100
runtime(vim): Update base-syntax, improve function definition highlighting (https://github.com/vim/vim/issues/14203)
Improve function definition highlighting.
- Match bang and function modifiers - abort etc.
- Only match valid scope modifiers.
- Match listing commands.
- Don't match ex commands in function names.
- Split function syntax groups into :func and :def subgroups.
- Match Vim9-script parameter and return types.
- Limit legacy-script and Vim9-script comments to :func and :def
definitions, respectively.
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 21 Mar 2024 20:45:04 +0100 |
parents | bfb925ee6bc8 |
children | e4a0c5bba6a0 |
line wrap: on
line source
|:+0&#ffffff0|m+0#af5f00255&|a|t|c|h| +0#0000000&@68 |:|m+0#af5f00255&|e|n|u| +0#0000000&@69 |:|m+0#af5f00255&|e|n|u|t|r|a|n|s|l|a|t|e| +0#0000000&@60 |:|m+0#af5f00255&|e|s@1|a|g|e|s| +0#0000000&@65 |:|m+0#af5f00255&|k|e|x|r|c| +0#0000000&@67 >:|m+0#af5f00255&|k|s|e|s@1|i|o|n| +0#0000000&@64 |:|m+0#af5f00255&|k|s|p|e|l@1| +0#0000000&@66 |:|m+0#af5f00255&|k|v|i|m|r|c| +0#0000000&@66 |:|m+0#af5f00255&|k|v|i|e|w| +0#0000000&@67 |:|m+0#af5f00255&|o|d|e| +0#0000000&@69 |:|m+0#af5f00255&|z|s|c|h|e|m|e| +0#0000000&@65 |:|m+0#af5f00255&|z|f|i|l|e| +0#0000000&@67 |:|n+0#af5f00255&|b|c|l|o|s|e| +0#0000000&@66 |:|n+0#af5f00255&|b|k|e|y| +0#0000000&@68 |:|n+0#af5f00255&|b|s|t|a|r|t| +0#0000000&@66 |:|n+0#af5f00255&|e|x|t| +0#0000000&@69 |:|n+0#af5f00255&|e|w| +0#0000000&@70 |:|n+0#af5f00255&|m|a|p| +0#0000000&@69 |:|n+0#af5f00255&|m|a|p|c|l|e|a|r| +0#0000000&@64 @57|3|2|5|,|1| @8|2|7|%|