runtime(vim): Update base-syntax, fix nested function folding (#14397)

Only match function folding start and end patterns at the start of a
line, excluding heredocs and :append/:change/:insert commands.

Fixes #14393

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
dkearns
2024-04-15 04:32:56 +10:00
committed by GitHub
parent c59a8648b2
commit 4ba70cab37
41 changed files with 582 additions and 78 deletions

View File

@ -17,4 +17,4 @@
| +0#0000000#ffffff0@74
|"+0#0000e05&| |s|a|m|e| |n|a|m|e| |a|s| |a|n| |E|x| |c|o|m@1|a|n|d| +0#0000000&@46
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |s|:|l|s|(|)|-@50
| +0#0000000#ffffff0@56|3|7|,|1| @9|3|4|%|
| +0#0000000#ffffff0@56|3|7|,|1| @9|2|7|%|